Comparing version 0.6.1 to 0.6.2
@@ -619,3 +619,2 @@ (function(e){if("function"==typeof bootstrap)bootstrap("bam",e);else if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else if("undefined"!=typeof ses){if(!ses.ok())return;ses.makeBam=e}else"undefined"!=typeof window?window.Bam=e():global.Bam=e()})(function(){var define,ses,bootstrap,module,exports; | ||
this.trigger('transition', pkg); | ||
this.root().trigger(this.namespace + '.transition', pkg); | ||
this.priorState = this.state; | ||
@@ -631,3 +630,2 @@ this.state = state; | ||
this.trigger('changestate', pkg); | ||
this.root().trigger(this.namespace + '.changestate', pkg); | ||
this.undelegateEvents(); | ||
@@ -714,4 +712,4 @@ this.delegateEvents(this.calcEvents(state)); | ||
var excludes; | ||
if (!rule) { | ||
return false; | ||
if (state === null) { | ||
state = 'null'; | ||
} | ||
@@ -718,0 +716,0 @@ if (state === rule) { |
@@ -275,3 +275,2 @@ // Generated by CoffeeScript 1.6.3 | ||
this.trigger('transition', pkg); | ||
this.root().trigger(this.namespace + '.transition', pkg); | ||
this.priorState = this.state; | ||
@@ -287,3 +286,2 @@ this.state = state; | ||
this.trigger('changestate', pkg); | ||
this.root().trigger(this.namespace + '.changestate', pkg); | ||
this.undelegateEvents(); | ||
@@ -370,4 +368,4 @@ this.delegateEvents(this.calcEvents(state)); | ||
var excludes; | ||
if (!rule) { | ||
return false; | ||
if (state === null) { | ||
state = 'null'; | ||
} | ||
@@ -374,0 +372,0 @@ if (state === rule) { |
{ | ||
"name": "bamjs", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"description": "Backbone with modifications. Adds heirarchy to Views, turns Views into Finite State Machines, adds a mixin for decorating methods and adds utility functions to Models and Collections.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
47620
1318