parent
c6f7c18e25
commit
650e46afbc
|
@ -13,7 +13,7 @@ if typeof CustomEvent is 'function'
|
|||
evt
|
||||
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) ->
|
||||
event = new CustomEvent(
|
||||
name,
|
||||
|
|
|
@ -76,7 +76,7 @@ try {
|
|||
}
|
||||
|
||||
$.fn.extend({
|
||||
// trigger an native click event
|
||||
// trigger a native click event
|
||||
triggerNative: function(type, options) {
|
||||
var el = this[0],
|
||||
event,
|
||||
|
|
|
@ -59,7 +59,7 @@ module Rails
|
|||
end
|
||||
|
||||
# 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.
|
||||
def orm_class
|
||||
@orm_class ||= begin
|
||||
|
|
Loading…
Reference in New Issue