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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2fb822322b2dc899d084e7562fb8208f490cfa466acb560faa624391e5c08d78
4
- data.tar.gz: 5b8ef3ebf451d7b6a3ea519c84d63c9360a63b80422756a60f4de76f68207cfe
3
+ metadata.gz: bcc3b758ce05ed0444162cda94d5442b811a582330ea4418cf816763e4e482b0
4
+ data.tar.gz: 3bfd8cc484ba00a6cd7ff0e5ffb90c3f3ec11c1d7aa9171572e93bc66b1cab42
5
5
  SHA512:
6
- metadata.gz: c62cf998ca3b96ce493a94bba20cbaf5b0980c29c2e3f4320f5633f4ea1336f0eaa4309658bb941be393184b332cb7f2eb2437a13b95351ff71b67c368d1a629
7
- data.tar.gz: f008e5cc545deb0e8fb389de0111b796af4cc66f3fccaed002e1c2107b2ed61955ab2c12502b0c87d6f39f4b4106a958cdc742830b3df0e12181bfc3a5b0732e
6
+ metadata.gz: a51ee9fc01642e16287b648085debd75749b983b2602a2407068cc7159cd302f8b04bd065b1ea28f7314cd19ae60e535cede86af4e7d7073648ffe2b3222d006
7
+ data.tar.gz: a979758f820232a129f9befd597a248511c76b05eab8aae5b62b56bf31a2f94580b889371aa52e584aac0fdfd5802a03f1632eaee65713b2438d98e29265846b
@@ -1,6 +1,6 @@
1
1
  ## master
2
2
 
3
- ## v1.4.8
3
+ ## v1.4.9
4
4
 
5
5
  * Allow to specify null namespace and receive routes as an object without assigning it anywhere #247
6
6
 
@@ -1,3 +1,3 @@
1
1
  class JsRoutes
2
- VERSION = "1.4.8"
2
+ VERSION = "1.4.9"
3
3
  end
@@ -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 Utils.make();
517
+ return result;
516
518
  });
517
- } else {
518
- return Utils.make();
519
519
  }
520
520
 
521
+ return result;
522
+
521
523
  }).call(this);
@@ -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 [], -> Utils.make()
410
- else
411
- return Utils.make()
410
+ define [], -> result
411
+ return result
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: js-routes
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.8
4
+ version: 1.4.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bogdan Gusiev