rails_jskit 5.1.0 → 5.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/jskit.js +7 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da0636c30a95d2a940b76b8938ba309840ddb326
|
4
|
+
data.tar.gz: 36463843795806ee6bff1883bc5dee97f9ecc73d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2cf158b3c242c811824337b10c6c9274b4592aee4aae67f0475c60a4e93024735d3b631afce702b553e14b01652c9744926818498b619710ad3542b258ba850
|
7
|
+
data.tar.gz: 112e61cf694d24f5f7331e192e834dd07fe1efb4d25833af860209ac73ba916125abfa31299b46921574fbe9bfce9c0c70d8f6a287775534ac3c0d2b68b6b9d0
|
@@ -333,13 +333,16 @@ JSkit.Controller = (function() {
|
|
333
333
|
var eventName = eventNameForAction(controller, action.name);
|
334
334
|
controller.dispatcher.before(eventName, function() {
|
335
335
|
return cacheElements(controller, action.name);
|
336
|
-
})
|
336
|
+
});
|
337
337
|
});
|
338
338
|
}
|
339
339
|
|
340
340
|
function registerControllerElementEvents(controller) {
|
341
341
|
each(controller.__actions__, function(action) {
|
342
|
-
|
342
|
+
var eventName = eventNameForAction(controller, action.name);
|
343
|
+
controller.dispatcher.before(eventName, function() {
|
344
|
+
return registerActionEvents(controller, action.name);
|
345
|
+
});
|
343
346
|
});
|
344
347
|
}
|
345
348
|
|
@@ -369,11 +372,11 @@ JSkit.Controller = (function() {
|
|
369
372
|
normalizeActions(controller);
|
370
373
|
registerActions(controller);
|
371
374
|
|
372
|
-
normalizeControllerElements(controller);
|
373
375
|
normalizeControllerEvents(controller);
|
376
|
+
normalizeControllerElements(controller);
|
374
377
|
|
375
|
-
registerCacheElementsForActions(controller);
|
376
378
|
registerControllerElementEvents(controller);
|
379
|
+
registerCacheElementsForActions(controller);
|
377
380
|
|
378
381
|
decorateCacheElements(controller);
|
379
382
|
decorateRegisterEvents(controller);
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_jskit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.1.
|
4
|
+
version: 5.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dayton Nolan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|