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,13 +1,11 @@
var GitError = require('../util/errors').GitError;
var _ = require('underscore');
var Q = require('q');
// horrible hack to get localStorage Backbone plugin
var Backbone = (!require('../util').isBrowser()) ? require('backbone') : window.Backbone;
var Backbone = require('backbone');
var ModalTerminal = require('../views').ModalTerminal;
var ContainedBase = require('../views').ContainedBase;
var ConfirmCancelView = require('../views').ConfirmCancelView;
var LeftRightView = require('../views').LeftRightView;
var InteractiveRebaseView = ContainedBase.extend({
tagName: 'div',