[ci skip]
This commit is contained in:
Akira Matsuda 2017-01-26 00:54:55 +09:00
parent c6f7c18e25
commit 650e46afbc
3 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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