removed all horrible hack references

This commit is contained in:
Peter Cottle 2015-04-04 11:24:49 -07:00
parent 3a710c8ab4
commit b3cf8263a2
12 changed files with 11 additions and 53 deletions

View file

@ -1,6 +1,5 @@
var _ = require('underscore');
// horrible hack to get localStorage Backbone plugin
var Backbone = (!require('../util').isBrowser()) ? Backbone = require('backbone') : Backbone = window.Backbone;
var Backbone = require('backbone');
var Errors = require('../util/errors');
@ -291,12 +290,4 @@ var Command = Backbone.Model.extend({
}
});
// command entry is for the commandview
var CommandEntry = Backbone.Model.extend({
defaults: {
text: ''
}
});
exports.CommandEntry = CommandEntry;
exports.Command = Command;