mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 08:50:06 +02:00
removed all horrible hack references
This commit is contained in:
parent
3a710c8ab4
commit
b3cf8263a2
12 changed files with 11 additions and 53 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue