Include jquery and underscore when used.

Fixes #151
dev/git-series/gccdum
Matt Godbolt 7 years ago
parent 843b61112c
commit 2e3c598380

@ -26,6 +26,8 @@
define(function (require) {
"use strict";
var _ = require('underscore');
var NumRainbowColours = 12;
function clearBackground(editor) {

@ -27,6 +27,7 @@ define(function (require) {
"use strict";
var CodeMirror = require('codemirror');
var _ = require('underscore');
var $ = require('jquery');
var colour = require('colour');
var Toggles = require('toggles');
var compiler = require('compiler');

@ -26,6 +26,7 @@
define(function (require) {
"use strict";
var $ = require('jquery');
var _ = require('underscore');
function LoadSave() {
this.modal = $('#load-save');
@ -63,4 +64,4 @@ define(function (require) {
};
return {LoadSave: LoadSave};
});
});

@ -26,6 +26,8 @@
define(function (require) {
"use strict";
var _ = require('underscore');
function Output(hub, container, state) {
var self = this;
this.container = container;
@ -105,4 +107,4 @@ define(function (require) {
};
}
};
});
});

@ -31,6 +31,7 @@ define(function (require) {
var editor = require('editor');
var compiler = require('compiler');
var lzstring = require('lzstring');
var _ = require('underscore');
function convertOldState(state) {
var sc = state.compilers[0];
@ -118,4 +119,4 @@ define(function (require) {
deserialiseState: deserialiseState,
serialiseState: serialiseState
};
});
});

Loading…
Cancel
Save