marionette-rails 0.10.0 → 0.10.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- // Backbone.Marionette, v0.10.0
1
+ // Backbone.Marionette, v0.10.1
2
2
  // Copyright (c)2012 Derick Bailey, Muted Solutions, LLC.
3
3
  // Distributed under MIT license
4
4
  // http://github.com/derickbailey/backbone.marionette
@@ -1131,14 +1131,13 @@ _.extend(Marionette.Module, {
1131
1131
  var length = moduleNames.length;
1132
1132
  _.each(moduleNames, function(moduleName, i){
1133
1133
  var isLastModuleInChain = (i === length-1);
1134
- var isFirstModuleInChain = (i === 0);
1135
1134
 
1136
1135
  var module = that._getModuleDefinition(parentModule, moduleName, app, customArgs);
1137
1136
  module.config.options = that._getModuleOptions(parentModule, moduleDefinition);
1138
1137
 
1139
1138
  // if it's the first module in the chain, configure it
1140
1139
  // for auto-start, as specified by the options
1141
- if (isFirstModuleInChain){
1140
+ if (isLastModuleInChain){
1142
1141
  that._configureAutoStart(app, module);
1143
1142
  }
1144
1143
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 10
8
- - 0
9
- version: 0.10.0
8
+ - 1
9
+ version: 0.10.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Godfrey Chan