marionette-rails 0.8.3 → 0.8.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,15 +1,14 @@
1
- // Backbone.Marionette v0.8.3
1
+ // Backbone.Marionette v0.8.4
2
2
  //
3
3
  // Copyright (C)2012 Derick Bailey, Muted Solutions, LLC
4
4
  // Distributed Under MIT License
5
5
  //
6
6
  // Documentation and Full License Available at:
7
7
  // http://github.com/derickbailey/backbone.marionette
8
-
9
8
  Backbone.Marionette = (function(Backbone, _, $){
10
9
  var Marionette = {};
11
10
 
12
- Marionette.version = "0.8.3";
11
+ Marionette.version = "0.8.4";
13
12
 
14
13
  // Marionette.View
15
14
  // ---------------
@@ -933,6 +932,7 @@ Backbone.Marionette = (function(Backbone, _, $){
933
932
  module: function(moduleNames, moduleDefinition){
934
933
  var moduleName, module, moduleOverride;
935
934
  var parentModule = this;
935
+ var parentApp = this;
936
936
  var moduleNames = moduleNames.split(".");
937
937
 
938
938
  // Loop through all the parts of the module definition
@@ -955,7 +955,7 @@ Backbone.Marionette = (function(Backbone, _, $){
955
955
  // is supplied, and if we're at the last segment
956
956
  // of the "Module.Name" chain.
957
957
  if (isLastModuleInChain && moduleDefinition){
958
- moduleOverride = moduleDefinition(module, parentModule, Backbone, Marionette, jQuery, _);
958
+ moduleOverride = moduleDefinition(module, parentApp, Backbone, Marionette, jQuery, _);
959
959
  // If we have a module override, use it instead.
960
960
  if (moduleOverride){
961
961
  module = moduleOverride;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: marionette-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.8.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-17 00:00:00.000000000 Z
12
+ date: 2012-05-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails