Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bigwheel

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bigwheel - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

7

index.js

@@ -79,2 +79,3 @@ /** @module bigwheel */

s.autoResize = s.autoResize === undefined ? true : s.autoResize;
s.duplicate = s.duplicate === undefined ? true : s.duplicate;

@@ -152,3 +153,4 @@ // 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

@@ -158,2 +160,3 @@ if( this.onRouteCallBack )

// check if content is an array or function or object

@@ -180,2 +183,4 @@ if( Array.isArray( content ) ) {

}
this.lastRoute = (data) ? data.route : undefined;
},

@@ -182,0 +187,0 @@

2

package.json
{
"name": "bigwheel",
"version": "1.1.1",
"version": "1.1.2",
"description": "bigwheel is an mvc framework that focuses on animation",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -52,2 +52,6 @@ <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
}

@@ -54,0 +58,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc