Skip to content

Commit 6ba8cc1

Browse files
committed
Syntax cleanup, version increment.
1 parent e634b42 commit 6ba8cc1

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

backbone.epoxy.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1031,11 +1031,11 @@
10311031
self.model = addSourceToViewContext(self, context, options, 'model');
10321032
self.viewModel = addSourceToViewContext(self, context, options, 'viewModel');
10331033
self.collection = addSourceToViewContext(self, context, options, 'collection');
1034-
1035-
// Support legacy "collection.view" API for rendering list items:
1034+
1035+
// Support legacy "collection.view" API for rendering list items:
10361036
if (self.collection && self.collection.view) {
1037-
self.itemView = self.collection.view;
1038-
}
1037+
self.itemView = self.collection.view;
1038+
}
10391039

10401040
// Add all additional data sources:
10411041
if (sources) {

backbone.epoxy.min.map

+1-1
Large diffs are not rendered by default.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"jQuery": "~1.7.4"
2929
},
3030
"main": "backbone.epoxy.js",
31-
"version": "1.1.0",
31+
"version": "1.2.0",
3232
"devDependencies": {
3333
"grunt": "~0.4.1",
3434
"grunt-contrib-uglify": "~0.1.2",

www/js/backbone.epoxy.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1031,11 +1031,11 @@
10311031
self.model = addSourceToViewContext(self, context, options, 'model');
10321032
self.viewModel = addSourceToViewContext(self, context, options, 'viewModel');
10331033
self.collection = addSourceToViewContext(self, context, options, 'collection');
1034-
1035-
// Support legacy "collection.view" API for rendering list items:
1034+
1035+
// Support legacy "collection.view" API for rendering list items:
10361036
if (self.collection && self.collection.view) {
1037-
self.itemView = self.collection.view;
1038-
}
1037+
self.itemView = self.collection.view;
1038+
}
10391039

10401040
// Add all additional data sources:
10411041
if (sources) {

0 commit comments

Comments
 (0)