marionette-rails 0.9.9 → 0.9.10

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.9.9
1
+ // Backbone.Marionette v0.9.10
2
2
  //
3
3
  // Copyright (C)2012 Derick Bailey, Muted Solutions, LLC
4
4
  // Distributed Under MIT License
@@ -223,15 +223,9 @@ Marionette.View = Backbone.View.extend({
223
223
  Marionette.ItemView = Marionette.View.extend({
224
224
  constructor: function(){
225
225
  Marionette.View.prototype.constructor.apply(this, arguments);
226
- this.initialEvents();
227
- },
228
226
 
229
- // Configured the initial events that the item view
230
- // binds to. Override this method to prevent the initial
231
- // events, or to add your own initial events.
232
- initialEvents: function(){
233
- if (this.collection){
234
- this.bindTo(this.collection, "reset", this.render, this);
227
+ if (this.initialEvents){
228
+ this.initialEvents();
235
229
  }
236
230
  },
237
231
 
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.9.9
4
+ version: 0.9.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: