Comparing version 1.1.2 to 1.2.0
@@ -79,3 +79,2 @@ /** @module bigwheel */ | ||
s.autoResize = s.autoResize === undefined ? true : s.autoResize; | ||
s.duplicate = s.duplicate === undefined ? true : s.duplicate; | ||
@@ -153,4 +152,2 @@ // setup the router | ||
show: function( content, data ) { | ||
if (!this.s.duplicate && data && data.route==this.lastRoute) return; | ||
// this is the original router callback passed in | ||
@@ -183,3 +180,2 @@ if( this.onRouteCallBack ) | ||
this.lastRoute = (data) ? data.route : undefined; | ||
}, | ||
@@ -186,0 +182,0 @@ |
{ | ||
"name": "bigwheel", | ||
"version": "1.1.2", | ||
"version": "1.2.0", | ||
"description": "bigwheel is an mvc framework that focuses on animation", | ||
@@ -25,3 +25,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"bw-router": "^1.0.2", | ||
"bw-router": "^1.1.0", | ||
"bw-viewmediator": "^1.1.0", | ||
@@ -28,0 +28,0 @@ "bw-vm": "^1.2.0", |
@@ -52,6 +52,2 @@ <a name="module_bigwheel"></a> | ||
// by default it's value is '#!' | ||
duplicate: true, // by default this value is true. When this value is | ||
// true, you will be able to go to the same route | ||
// multiple times in a row, useful for routes | ||
// that contain wild cards | ||
} | ||
@@ -58,0 +54,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12659
221
94
Updatedbw-router@^1.1.0