diff --git a/bower.json b/bower.json index be5bdf00e..42f9b4624 100644 --- a/bower.json +++ b/bower.json @@ -27,7 +27,7 @@ "marked": "~0.3.5", "rangy": "rangy-release#~1.3.0", "json.sortify": "~2.1.0", - "fabric.js": "fabric#~1.6.0", + "secure-fabric.js": "secure-v1.7.9", "hyperjson": "~1.4.0", "textpatcher": "^1.3.0", "chainpad": "^0.3.0", diff --git a/www/whiteboard/main.js b/www/whiteboard/main.js index 232050a5c..8a03700a4 100644 --- a/www/whiteboard/main.js +++ b/www/whiteboard/main.js @@ -10,10 +10,9 @@ define([ 'json.sortify', '/bower_components/chainpad-json-validator/json-ot.js', '/common/cryptpad-common.js', - 'fabric.js', + '/bower_components/secure-fabric.js/dist/fabric.min.js', '/bower_components/jquery/dist/jquery.min.js', '/bower_components/file-saver/FileSaver.min.js', - //'/customize/pad.js' ], function (Config, Realtime, Crypto, TextPatcher, JSONSortify, JsonOT, Cryptpad) { var saveAs = window.saveAs; var Messages = Cryptpad.Messages;