making sandbox first class

This commit is contained in:
Peter Cottle 2013-08-04 15:09:11 -07:00
parent 90ae34f37b
commit d75489c175
8 changed files with 975 additions and 942 deletions

File diff suppressed because it is too large Load diff

View file

@ -27,7 +27,7 @@ var init = function() {
* - initializing the command input bar * - initializing the command input bar
* - handling window.focus and zoom events * - handling window.focus and zoom events
**/ **/
var Sandbox = require('../level/sandbox').Sandbox; var Sandbox = require('../sandbox/').Sandbox;
var Level = require('../level').Level; var Level = require('../level').Level;
var EventBaton = require('../util/eventBaton').EventBaton; var EventBaton = require('../util/eventBaton').EventBaton;
var LevelArbiter = require('../level/arbiter').LevelArbiter; var LevelArbiter = require('../level/arbiter').LevelArbiter;

View file

@ -8,7 +8,7 @@ var intl = require('../intl');
var log = require('../log'); var log = require('../log');
var Errors = require('../util/errors'); var Errors = require('../util/errors');
var Sandbox = require('../level/sandbox').Sandbox; var Sandbox = require('../sandbox/').Sandbox;
var Constants = require('../util/constants'); var Constants = require('../util/constants');
var Visualization = require('../visuals/visualization').Visualization; var Visualization = require('../visuals/visualization').Visualization;

View file

@ -2,7 +2,7 @@ var _ = require('underscore');
var GitCommands = require('../git/commands'); var GitCommands = require('../git/commands');
var Commands = require('../commands'); var Commands = require('../commands');
var SandboxCommands = require('../level/sandboxCommands'); var SandboxCommands = require('../sandbox/commands');
// more or less a static class // more or less a static class
var ParseWaterfall = function(options) { var ParseWaterfall = function(options) {

View file

@ -20,7 +20,7 @@ var toGlobalize = {
ZoomLevel: require('../util/zoomLevel'), ZoomLevel: require('../util/zoomLevel'),
VisBranch: require('../visuals/visBranch'), VisBranch: require('../visuals/visBranch'),
Level: require('../level'), Level: require('../level'),
Sandbox: require('../level/sandbox'), Sandbox: require('../sandbox/'),
GitDemonstrationView: require('../views/gitDemonstrationView'), GitDemonstrationView: require('../views/gitDemonstrationView'),
Markdown: require('markdown'), Markdown: require('markdown'),
LevelDropdownView: require('../views/levelDropdownView'), LevelDropdownView: require('../views/levelDropdownView'),

View file

@ -17,6 +17,7 @@ Origin things:
Medium things: Medium things:
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ ] figure out what to do with instant commands (and parse waterfall and the like) [ ] figure out what to do with instant commands (and parse waterfall and the like)
[ ] disable git commands on hg levels
Cases to handle / things to edit Cases to handle / things to edit
======================= =======================