eslint --fix

This commit is contained in:
Eric Fischer
2017-12-08 12:36:39 -05:00
parent e0112d18e3
commit 5bc6b31e29
415 changed files with 3554 additions and 3728 deletions

View File

@@ -21,7 +21,7 @@ define(['js/views/baseview', 'underscore', 'jquery', 'js/views/edit_chapter', 'c
},
events: {
'change input[name=textbook-name]': 'setName',
'submit': 'setAndClose',
submit: 'setAndClose',
'click .action-cancel': 'cancel',
'click .action-add-chapter': 'createChapter'
},
@@ -49,8 +49,8 @@ define(['js/views/baseview', 'underscore', 'jquery', 'js/views/edit_chapter', 'c
var chapter = that.model.get('chapters').at(i);
if (!chapter) { return; }
chapter.set({
'name': $('.chapter-name', li).val(),
'asset_path': $('.chapter-asset-path', li).val()
name: $('.chapter-name', li).val(),
asset_path: $('.chapter-asset-path', li).val()
});
});
return this;