Skip to content

Commit

Permalink
Explicitly initialize patched blocks on startup
Browse files Browse the repository at this point in the history
This fixes block search for ft-blocks and loading projects with ft-blocks
when the language setting is "English"
  • Loading branch information
rkunze committed Feb 10, 2016
1 parent 2adee11 commit c97d8f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ide/ft-robo-snap.js
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ FTRoboSnap.prototype.monkeyPatchTranslation = function(script) {
};

FTRoboSnap = new FTRoboSnap();
SpriteMorph.prototype.initBlocks();

// IDE startup. Copied here from snap.html because I like my JavaScript code
// to reside in .js files...
Expand Down

0 comments on commit c97d8f4

Please sign in to comment.