mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
s/an/a/
[ci skip]
This commit is contained in:
parent
c6f7c18e25
commit
650e46afbc
3 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ if typeof CustomEvent is 'function'
|
||||||
evt
|
evt
|
||||||
CustomEvent.prototype = window.Event.prototype
|
CustomEvent.prototype = window.Event.prototype
|
||||||
|
|
||||||
# Triggers an custom event on an element and returns false if the event result is false
|
# Triggers a custom event on an element and returns false if the event result is false
|
||||||
fire = Rails.fire = (obj, name, data) ->
|
fire = Rails.fire = (obj, name, data) ->
|
||||||
event = new CustomEvent(
|
event = new CustomEvent(
|
||||||
name,
|
name,
|
||||||
|
|
|
@ -76,7 +76,7 @@ try {
|
||||||
}
|
}
|
||||||
|
|
||||||
$.fn.extend({
|
$.fn.extend({
|
||||||
// trigger an native click event
|
// trigger a native click event
|
||||||
triggerNative: function(type, options) {
|
triggerNative: function(type, options) {
|
||||||
var el = this[0],
|
var el = this[0],
|
||||||
event,
|
event,
|
||||||
|
|
|
@ -59,7 +59,7 @@ module Rails
|
||||||
end
|
end
|
||||||
|
|
||||||
# Loads the ORM::Generators::ActiveModel class. This class is responsible
|
# Loads the ORM::Generators::ActiveModel class. This class is responsible
|
||||||
# to tell scaffold entities how to generate an specific method for the
|
# to tell scaffold entities how to generate a specific method for the
|
||||||
# ORM. Check Rails::Generators::ActiveModel for more information.
|
# ORM. Check Rails::Generators::ActiveModel for more information.
|
||||||
def orm_class
|
def orm_class
|
||||||
@orm_class ||= begin
|
@orm_class ||= begin
|
||||||
|
|
Loading…
Reference in a new issue