diff --git a/bower.json b/bower.json index 48912d3e0..0c819e0a4 100644 --- a/bower.json +++ b/bower.json @@ -31,6 +31,7 @@ "rangy": "rangy-release#~1.3.0", "json.sortify": "~2.1.0", "fabric.js": "fabric#~1.6.0", - "hyperjson": "~1.2.2" + "hyperjson": "~1.2.2", + "textpatcher": "^1.1.1" } } diff --git a/www/assert/main.js b/www/assert/main.js index 27223752d..35ec51957 100644 --- a/www/assert/main.js +++ b/www/assert/main.js @@ -3,7 +3,7 @@ define([ '/bower_components/jquery/dist/jquery.min.js', '/common/hyperjson.js', // serializing classes as an attribute '/common/hyperscript.js', // using setAttribute - '/common/TextPatcher.js', + '/bower_components/textpatcher/TextPatcher.amd.js', 'json.sortify', ], function (jQuery, Hyperjson, Hyperscript, TextPatcher, Sortify) { var $ = window.jQuery; diff --git a/www/canvas/main.js b/www/canvas/main.js index 47d8c37d1..5564d95f1 100644 --- a/www/canvas/main.js +++ b/www/canvas/main.js @@ -7,7 +7,7 @@ define([ '/common/realtime-input.js', '/common/messages.js', '/common/crypto.js', - '/common/TextPatcher.js', + '/bower_components/textpatcher/TextPatcher.amd.js', 'json.sortify', '/common/json-ot.js', '/bower_components/fabric.js/dist/fabric.min.js', diff --git a/www/code/main.js b/www/code/main.js index 1ff99deab..867f47147 100644 --- a/www/code/main.js +++ b/www/code/main.js @@ -5,7 +5,7 @@ define([ '/common/messages.js', '/common/crypto.js', '/common/realtime-input.js', - '/common/TextPatcher.js', + '/bower_components/textpatcher/TextPatcher.amd.js', '/common/toolbar.js', 'json.sortify', '/common/json-ot.js', diff --git a/www/form/main.js b/www/form/main.js index 10b89b24e..d4bddf767 100644 --- a/www/form/main.js +++ b/www/form/main.js @@ -3,7 +3,7 @@ define([ '/api/config?cb=' + Math.random().toString(16).substring(2), '/common/realtime-input.js', '/common/crypto.js', - '/common/TextPatcher.js', + '/bower_components/textpatcher/TextPatcher.amd.js', 'json.sortify', '/form/ula.js', '/common/json-ot.js', diff --git a/www/hack/main.js b/www/hack/main.js index fe71ac64d..81cc87234 100644 --- a/www/hack/main.js +++ b/www/hack/main.js @@ -2,7 +2,7 @@ define([ '/api/config?cb=' + Math.random().toString(16).substring(2), '/common/realtime-input.js', '/common/crypto.js', - '/common/TextPatcher.js', + '/bower_components/textpatcher/TextPatcher.amd.js', '/bower_components/jquery/dist/jquery.min.js' ], function (Config, Realtime, Crypto, TextPatcher) { var $ = window.jQuery; diff --git a/www/pad/main.js b/www/pad/main.js index 93ac225b4..f9a5521bf 100644 --- a/www/pad/main.js +++ b/www/pad/main.js @@ -11,7 +11,7 @@ define([ '/common/json-ot.js', '/common/TypingTests.js', 'json.sortify', - '/common/TextPatcher.js', + '/bower_components/textpatcher/TextPatcher.amd.js', '/bower_components/diff-dom/diffDOM.js', '/bower_components/jquery/dist/jquery.min.js', '/customize/pad.js' diff --git a/www/style/main.js b/www/style/main.js index fa209cf7c..218cc1cd8 100644 --- a/www/style/main.js +++ b/www/style/main.js @@ -2,7 +2,7 @@ define([ '/api/config?cb=' + Math.random().toString(16).substring(2), '/common/realtime-input.js', '/common/crypto.js', - '/common/TextPatcher.js', + '/bower_components/textpatcher/TextPatcher.amd.js', '/bower_components/jquery/dist/jquery.min.js', '/customize/pad.js' ], function (Config, Realtime, Crypto, TextPatcher) { diff --git a/www/text/main.js b/www/text/main.js index d82ce59de..e3c23af9e 100644 --- a/www/text/main.js +++ b/www/text/main.js @@ -2,7 +2,7 @@ define([ '/api/config?cb=' + Math.random().toString(16).substring(2), '/common/realtime-input.js', '/common/crypto.js', - '/common/TextPatcher.js', + '/bower_components/textpatcher/TextPatcher.amd.js', '/bower_components/jquery/dist/jquery.min.js', '/customize/pad.js' ], function (Config, Realtime, Crypto, TextPatcher) {