backbone_extensions 0.0.16 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -109,7 +109,8 @@
109
109
  };
110
110
  },
111
111
  associationFn: function(assocResponse) {
112
- associations[associationType].call(this, assocResponse, this[associationName](), mergeAssociationOptions(options, this._options));
112
+ return assocResponse &&
113
+ associations[associationType].call(this, assocResponse, this[associationName](), mergeAssociationOptions(options, this._options));
113
114
  }
114
115
  });
115
116
  }
@@ -1,3 +1,3 @@
1
1
  module BackboneExtensions
2
- VERSION = '0.0.16'
2
+ VERSION = '0.0.17'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: backbone_extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -126,7 +126,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
126
126
  version: '0'
127
127
  segments:
128
128
  - 0
129
- hash: -3935989382484356862
129
+ hash: -3752352878697027147
130
130
  required_rubygems_version: !ruby/object:Gem::Requirement
131
131
  none: false
132
132
  requirements:
@@ -135,10 +135,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
135
  version: '0'
136
136
  segments:
137
137
  - 0
138
- hash: -3935989382484356862
138
+ hash: -3752352878697027147
139
139
  requirements: []
140
140
  rubyforge_project:
141
- rubygems_version: 1.8.24
141
+ rubygems_version: 1.8.21
142
142
  signing_key:
143
143
  specification_version: 3
144
144
  summary: Extensions to backbone javascript library as a rails engine