js-routes 1.4.8 → 1.4.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -1
- data/lib/js_routes/version.rb +1 -1
- data/lib/routes.js +6 -4
- data/lib/routes.js.coffee +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bcc3b758ce05ed0444162cda94d5442b811a582330ea4418cf816763e4e482b0
|
4
|
+
data.tar.gz: 3bfd8cc484ba00a6cd7ff0e5ffb90c3f3ec11c1d7aa9171572e93bc66b1cab42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a51ee9fc01642e16287b648085debd75749b983b2602a2407068cc7159cd302f8b04bd065b1ea28f7314cd19ae60e535cede86af4e7d7073648ffe2b3222d006
|
7
|
+
data.tar.gz: a979758f820232a129f9befd597a248511c76b05eab8aae5b62b56bf31a2f94580b889371aa52e584aac0fdfd5802a03f1632eaee65713b2438d98e29265846b
|
data/CHANGELOG.md
CHANGED
data/lib/js_routes/version.rb
CHANGED
data/lib/routes.js
CHANGED
@@ -4,7 +4,7 @@ Based on Rails RAILS_VERSION routes of APP_CLASS
|
|
4
4
|
*/
|
5
5
|
|
6
6
|
(function() {
|
7
|
-
var DeprecatedGlobbingBehavior, NodeTypes, ParameterMissing, ReservedOptions, SpecialOptionsKey, UriEncoderSegmentRegex, Utils, root,
|
7
|
+
var DeprecatedGlobbingBehavior, NodeTypes, ParameterMissing, ReservedOptions, SpecialOptionsKey, UriEncoderSegmentRegex, Utils, result, root,
|
8
8
|
hasProp = {}.hasOwnProperty,
|
9
9
|
slice = [].slice;
|
10
10
|
|
@@ -510,12 +510,14 @@ Based on Rails RAILS_VERSION routes of APP_CLASS
|
|
510
510
|
}
|
511
511
|
};
|
512
512
|
|
513
|
+
result = Utils.make();
|
514
|
+
|
513
515
|
if (typeof define === "function" && define.amd) {
|
514
516
|
define([], function() {
|
515
|
-
return
|
517
|
+
return result;
|
516
518
|
});
|
517
|
-
} else {
|
518
|
-
return Utils.make();
|
519
519
|
}
|
520
520
|
|
521
|
+
return result;
|
522
|
+
|
521
523
|
}).call(this);
|
data/lib/routes.js.coffee
CHANGED
@@ -403,9 +403,9 @@ Utils =
|
|
403
403
|
# Browser globals
|
404
404
|
Utils.namespace(root, NAMESPACE, routes)
|
405
405
|
|
406
|
+
result = Utils.make()
|
406
407
|
# Set up Routes appropriately for the environment.
|
407
408
|
if typeof define is "function" and define.amd
|
408
409
|
# AMD
|
409
|
-
define [], ->
|
410
|
-
|
411
|
-
return Utils.make()
|
410
|
+
define [], -> result
|
411
|
+
return result
|