cleanup, refactoring some view and model names, some minor fixes

This commit is contained in:
Jason White
2015-08-20 20:41:21 -04:00
parent 6307f102f0
commit 0e474d9de8
22 changed files with 37 additions and 21908 deletions

View File

@ -0,0 +1,18 @@
define(['jquery',
'underscore',
'backbone',
'goatApp/model/HTMLContentModel'],
function($,
_,
Backbone,
HTMLContentModel) {
return HTMLContentModel.extend({
url:'service/solution.mvc',
checkNullModel: function() {
if (this.get('content').indexOf('Could not find the solution file or solution file does not exist') === 0) {
this.set('content',null);
}
}
});
});