Comparing version 1.1.0 to 1.1.1
42
index.js
@@ -125,2 +125,27 @@ /** @module bigwheel */ | ||
/** | ||
* Destroys bighweel | ||
*/ | ||
destroy: function() { | ||
this.router.destroy(); | ||
}, | ||
/** | ||
* Resize can be called at any time. The values passed in for | ||
* width and height will be passed to the currently instantiated | ||
* sections. | ||
* | ||
* If `autoResize` was not passed in or it was true then resize | ||
* will automatically be called when the window of the browser | ||
* resizes. | ||
* | ||
* @param {Number} w width value you'd like to pass to the sections | ||
* @param {Number} h height value you'd like to pass to the sections | ||
*/ | ||
resize: function( w, h ) { | ||
this.vm.resize( w, h ); | ||
}, | ||
show: function( content, data ) { | ||
@@ -155,19 +180,2 @@ | ||
/** | ||
* Resize can be called at any time. The values passed in for | ||
* width and height will be passed to the currently instantiated | ||
* sections. | ||
* | ||
* If `autoResize` was not passed in or it was true then resize | ||
* will automatically be called when the window of the browser | ||
* resizes. | ||
* | ||
* @param {Number} w width value you'd like to pass to the sections | ||
* @param {Number} h height value you'd like to pass to the sections | ||
*/ | ||
resize: function( w, h ) { | ||
this.vm.resize( w, h ); | ||
}, | ||
doShow: function( content, data ) { | ||
@@ -174,0 +182,0 @@ |
{ | ||
"name": "bigwheel", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "bigwheel is an mvc framework that focuses on animation", | ||
@@ -25,3 +25,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"bw-router": "^1.0.1", | ||
"bw-router": "^1.0.2", | ||
"bw-viewmediator": "^1.1.0", | ||
@@ -28,0 +28,0 @@ "bw-vm": "^1.2.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
12658
221
Updatedbw-router@^1.0.2