From 6eab52c33dab3b68a6e131b7adf5b55bb9586eb0 Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 27 Mar 2017 12:45:32 +0200 Subject: [PATCH] use secure fabric.js --- bower.json | 2 +- www/whiteboard/main.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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;