diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-06-07 16:02:02 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-06-07 16:02:02 +0200 |
commit | 7e12bd35889b5d6fca03a49d9f547a607352090a (patch) | |
tree | 0d6a359e7bb974bca717d2bde44972042922f213 /theme/javascript/core/exercise.js | |
parent | 4dbdb95ebef1440b14ee83551f65d133959858e7 (diff) | |
download | gitbook-7e12bd35889b5d6fca03a49d9f547a607352090a.zip gitbook-7e12bd35889b5d6fca03a49d9f547a607352090a.tar.gz gitbook-7e12bd35889b5d6fca03a49d9f547a607352090a.tar.bz2 |
Don't use cdn for ace
Diffstat (limited to 'theme/javascript/core/exercise.js')
-rwxr-xr-x | theme/javascript/core/exercise.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/theme/javascript/core/exercise.js b/theme/javascript/core/exercise.js index 7dbe982..f4227cc 100755 --- a/theme/javascript/core/exercise.js +++ b/theme/javascript/core/exercise.js @@ -1,9 +1,13 @@ define([ "jQuery", + "ace/ace", + "ace/theme-tomorrow", + "ace/mode-javascript", "utils/execute", "core/events", "core/state" -], function($, execute, events, state){ +], function($, _ace, _aceTheme, _aceMode, execute, events, state){ + // Bind an exercise var prepareExercise = function($exercise) { var codeSolution = $exercise.find(".code-solution").text(); |