diff --git a/bower.json b/bower.json index 6883d1107..caa00008b 100644 --- a/bower.json +++ b/bower.json @@ -30,6 +30,7 @@ "marked": "~0.3.5", "rangy": "rangy-release#~1.3.0", "json.sortify": "~2.1.0", - "fabric.js": "fabric#~1.6.0" + "fabric.js": "fabric#~1.6.0", + "hyperjson": "~1.1.0" } } diff --git a/www/pad/main.js b/www/pad/main.js index aed4612cc..84656c3d3 100644 --- a/www/pad/main.js +++ b/www/pad/main.js @@ -4,7 +4,7 @@ define([ '/common/messages.js', '/common/crypto.js', '/common/realtime-input.js', - '/common/hyperjson.js', + '/bower_components/hyperjson/hyperjson.js', '/common/hyperscript.js', '/common/toolbar.js', '/common/cursor.js', @@ -37,6 +37,7 @@ define([ var module = window.REALTIME_MODULE = { Hyperjson: Hyperjson, Hyperscript: Hyperscript, + TextPatcher: TextPatcher, logFights: true, fights: [] };