rails_jskit 5.1.1 → 5.1.2
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 +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9238b2efe19be1c02b37fcba5ea93a9f76c8ab86
|
4
|
+
data.tar.gz: 527c267e6def77f3b904f7db8fc57881e053a8ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d8152bdd670819b73cf75549f6fef038e09421babce154bb89f323a104f8b728f6b7628888d4571a3227e1801d46da0853929c74a92b504c49c6f9bf7a9f294
|
7
|
+
data.tar.gz: c036293689d45695a1923334f70bb37937e21d21bf64ac468932ceb9367ecb79968f7307575b61384a7edd1f269e94c4732b01f0b0589a7a0b69eaab919b8f01
|
@@ -26,7 +26,7 @@ var JSkit = (function() {
|
|
26
26
|
* @class Dispatcher
|
27
27
|
*/
|
28
28
|
JSkit.Dispatcher = (function() {
|
29
|
-
var
|
29
|
+
var some = _.some;
|
30
30
|
var each = _.each;
|
31
31
|
|
32
32
|
/**
|
@@ -68,7 +68,7 @@ JSkit.Dispatcher = (function() {
|
|
68
68
|
*/
|
69
69
|
function registerHandler(registeredHandlers, eventHandler, method) {
|
70
70
|
method = method || "push";
|
71
|
-
if (!
|
71
|
+
if (!some(registeredHandlers, eventHandler)) {
|
72
72
|
registeredHandlers[method](eventHandler);
|
73
73
|
}
|
74
74
|
}
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dayton Nolan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -170,7 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
170
170
|
version: '0'
|
171
171
|
requirements: []
|
172
172
|
rubyforge_project:
|
173
|
-
rubygems_version: 2.
|
173
|
+
rubygems_version: 2.2.2
|
174
174
|
signing_key:
|
175
175
|
specification_version: 4
|
176
176
|
summary: Gem that provides Rails integration for jskit
|