Skip to content

Commit

Permalink
Fix deps.js error in console in uncompressed mode
Browse files Browse the repository at this point in the history
Also add some missing dependencies.
  • Loading branch information
NeilFraser committed Sep 17, 2019
1 parent 36df226 commit bb5da9e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions appengine/movie/js/movie.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

goog.provide('Movie');

goog.require('Blockly.FieldColour');
goog.require('Blockly.utils.Coordinate');
goog.require('Blockly.utils.style');
goog.require('BlocklyDialogs');
Expand Down
4 changes: 2 additions & 2 deletions appengine/puzzle/js/puzzle.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@

goog.provide('Puzzle');

goog.require('Puzzle.soy');
goog.require('Puzzle.Blocks');
goog.require('Blockly.utils.math');
goog.require('BlocklyDialogs');
goog.require('BlocklyGames');
goog.require('BlocklyInterface');
goog.require('Puzzle.soy');
goog.require('Puzzle.Blocks');


BlocklyGames.NAME = 'puzzle';
Expand Down
1 change: 1 addition & 0 deletions appengine/turtle/js/turtle.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

goog.provide('Turtle');

goog.require('Blockly.FieldColour');
goog.require('Blockly.utils.math');
goog.require('BlocklyDialogs');
goog.require('BlocklyGames');
Expand Down
3 changes: 3 additions & 0 deletions build-app.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ def run(self):
f = open('appengine/%s/generated/%s/uncompressed.js' %
(self.name, self.lang), 'w')
f.write("""%s
window.CLOSURE_NO_DEPS = true;
(function() {
var srcs = [
%s
Expand Down

0 comments on commit bb5da9e

Please sign in to comment.