rails_jskit 5.1.3 → 5.1.4
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 +1 -8
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3caca016824494bf35868b4d53ce0dc4cff8b412
|
4
|
+
data.tar.gz: dee2ea500f3196b9b7e28f43deb2173cce51f45e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7199fe2c535002b34e443a69b2ecbb5bffe61ea1def406f151db98ad109c768f1d41eb6e456729899c049b636dc330bbbbf09ec05db0bf6bd692948aa78c13f
|
7
|
+
data.tar.gz: 13f90f37569af81e455a0b1fac74d0dd56e9d8463feb2113c6e109b56f5674d7eb8123e57a099ed9c4cfd210a28516ed6a5072fd3fa91eb26ee42fa7acc06334
|
@@ -159,8 +159,6 @@ JSkit.Dispatcher = (function() {
|
|
159
159
|
|
160
160
|
JSkit.Controller = (function() {
|
161
161
|
var bind = _.bind;
|
162
|
-
var bindAll = _.bindAll;
|
163
|
-
var cloneDeep = _.cloneDeep;
|
164
162
|
var compact = _.compact;
|
165
163
|
var defaults = _.defaults;
|
166
164
|
var each = _.each;
|
@@ -168,7 +166,6 @@ JSkit.Controller = (function() {
|
|
168
166
|
var first = _.first;
|
169
167
|
var flatten = _.flatten;
|
170
168
|
var includes = _.includes;
|
171
|
-
var isArray = _.isArray;
|
172
169
|
var isFunction = _.isFunction;
|
173
170
|
var isObject = _.isObject;
|
174
171
|
var keys = _.keys;
|
@@ -263,10 +260,6 @@ JSkit.Controller = (function() {
|
|
263
260
|
}, {});
|
264
261
|
}
|
265
262
|
|
266
|
-
function isMappedAction(action) {
|
267
|
-
return action.name != action.method;
|
268
|
-
}
|
269
|
-
|
270
263
|
function nativeFind(selector) {
|
271
264
|
return document.querySelectorAll(selector);
|
272
265
|
}
|
@@ -369,7 +362,7 @@ JSkit.Controller = (function() {
|
|
369
362
|
});
|
370
363
|
|
371
364
|
each(functions(controller), function(func) {
|
372
|
-
bind(controller[func], controller);
|
365
|
+
controller[func] = bind(controller[func], controller);
|
373
366
|
});
|
374
367
|
|
375
368
|
registerAllAction(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.4
|
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-
|
11
|
+
date: 2016-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -152,7 +152,7 @@ files:
|
|
152
152
|
- spec/lib/version_spec.rb
|
153
153
|
homepage: https://github.com/daytonn/rails_jskit
|
154
154
|
licenses:
|
155
|
-
- Apache
|
155
|
+
- Apache 2.0
|
156
156
|
metadata: {}
|
157
157
|
post_install_message:
|
158
158
|
rdoc_options: []
|
@@ -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
|