Comparing version 1.0.0 to 1.1.0
{ | ||
"name": "bigwheel", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "bigwheel is an mvc framework that focuses on animation", | ||
@@ -25,5 +25,5 @@ "main": "index.js", | ||
"dependencies": { | ||
"bw-router": "git://github.com/MikkoH/bw-router", | ||
"bw-viewmediator": "git://github.com/MikkoH/bw-viewmediator", | ||
"bw-vm": "git://github.com/MikkoH/bw-vm", | ||
"bw-router": "^1.0.1", | ||
"bw-viewmediator": "^1.1.0", | ||
"bw-vm": "^1.2.0", | ||
"dom-event": "git://github.com/mikkoh/dom-event" | ||
@@ -30,0 +30,0 @@ }, |
@@ -1,1 +0,3 @@ | ||
var framework = require( './framework' ); | ||
var framework = require( './framework' ); | ||
framework.init(); |
@@ -10,3 +10,3 @@ module.exports = preloader; | ||
init: function( onComplete ) { | ||
init: function( req, onComplete ) { | ||
@@ -19,3 +19,3 @@ console.log( 'started simulating preload' ); | ||
aniIn: function( onComplete ) { | ||
aniIn: function( req, onComplete ) { | ||
@@ -26,3 +26,3 @@ console.log( 'preloader ani in' ); | ||
aniOut: function( onComplete ) { | ||
aniOut: function( req, onComplete ) { | ||
@@ -29,0 +29,0 @@ console.log( 'preloader ani out' ); |
@@ -5,9 +5,6 @@ module.exports = function( colour, toRoute ) { | ||
init: function( data, onComplete ) { | ||
init: function( req, onComplete ) { | ||
if( !onComplete && typeof data == 'function' ) | ||
onComplete = data; | ||
console.log( 'init', name ); | ||
console.log( data ); | ||
console.log( req ); | ||
@@ -19,3 +16,3 @@ var el = this.el = document.createElement( 'div' ); | ||
el.style.display = 'none'; | ||
el.innerHTML = data.route; | ||
el.innerHTML = req.route; | ||
document.body.appendChild( el ); | ||
@@ -26,3 +23,3 @@ | ||
require( './framework' ).go( toRoute ); | ||
} | ||
}; | ||
@@ -39,3 +36,3 @@ onComplete(); | ||
aniIn: function( onComplete ) { | ||
aniIn: function( req, onComplete ) { | ||
@@ -48,3 +45,3 @@ console.log( 'aniIn', name ); | ||
aniOut: function( onComplete ) { | ||
aniOut: function( req, onComplete ) { | ||
@@ -56,3 +53,3 @@ console.log( 'aniOut', name ); | ||
destroy: function() { | ||
destroy: function( req, onComplete ) { | ||
@@ -63,2 +60,2 @@ console.log( 'destroy', name ); | ||
}; | ||
} | ||
}; |
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
Git dependency
Supply chain riskContains a dependency which resolves to a remote git URL. Dependencies fetched from git URLs are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 3 instances in 1 package
1
12572
215
+ Addedbw-router@1.3.2(transitive)
+ Addedbw-viewmediator@1.1.0(transitive)
+ Addedbw-vm@1.2.2(transitive)
+ Addeddom-event@0.0.3(transitive)
+ Addedroutes@1.2.0(transitive)
Updatedbw-router@^1.0.1
Updatedbw-viewmediator@^1.1.0
Updatedbw-vm@^1.2.0