Skip to content

Commit

Permalink
Bump Marionette version, misc. bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MeoMix committed Sep 10, 2015
1 parent 3e9895a commit b440c3b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
},
"format": "cjs"
},
"github:marionettejs/[email protected].2": {
"github:marionettejs/[email protected].3": {
"map": {
"underscore": "common/shim/lodash.reference.shim"
},
Expand Down
6 changes: 4 additions & 2 deletions src/js/background/mixin/collectionUniqueVideo.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import _ from 'common/shim/lodash.reference.shim';
import {Collection, Model} from 'backbone';

export default {
var CollectionUniqueVideo = {
initialize: function() {
// Stub out the default implementation of add with one which enforces uniqueness based on video id.
this.add = this._add;
Expand Down Expand Up @@ -100,4 +100,6 @@ export default {
_hasVideo: function(video) {
return !_.isUndefined(this._getByVideoId(video.get('id')));
}
};
};

export default CollectionUniqueVideo;
4 changes: 4 additions & 0 deletions src/js/foreground/view/selectionBar/selectionBarView.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ var SelectionBarView = LayoutView.extend({
className: 'selectionBar panel-content panel-content--uncolored',
template: selectionBarTemplate,

templateHelpers: {
closeIcon: closeIconTemplate
},

ui: {
playButton: 'playButton',
addButton: 'addButton',
Expand Down
2 changes: 1 addition & 1 deletion src/js/lib/jspm.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ System.config({
"hbs": "github:davis/[email protected]",
"jquery": "github:components/[email protected]",
"lodash": "npm:[email protected]",
"marionette": "github:marionettejs/[email protected].2",
"marionette": "github:marionettejs/[email protected].3",
"mocha": "npm:[email protected]",
"process": "npm:[email protected]",
"sinon": "npm:[email protected]",
Expand Down

0 comments on commit b440c3b

Please sign in to comment.