From 341838f0007060ed19e848c274065b352b4bdf04 Mon Sep 17 00:00:00 2001 From: Rajit Singh Date: Mon, 6 Mar 2017 17:59:58 +0000 Subject: [PATCH] Use 'share' with "Failed to parse" bugfix. Require module from node_modules --- sharejs-base/loadBCSocket.js | 4 ++-- sharejs-base/package.js | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/sharejs-base/loadBCSocket.js b/sharejs-base/loadBCSocket.js index ccedf96..5641bf5 100644 --- a/sharejs-base/loadBCSocket.js +++ b/sharejs-base/loadBCSocket.js @@ -4,5 +4,5 @@ //This is required to load BCSocket into the global scope for sharejs //http://stackoverflow.com/questions/31197220/can-i-use-an-es6-2015-module-import-to-set-a-reference-in-global-scope -import {BCSocket as bc} from 'share/node_modules/browserchannel/dist/bcsocket-uncompressed' -window.BCSocket = bc; \ No newline at end of file +import {BCSocket as bc} from 'browserchannel/dist/bcsocket-uncompressed' +window.BCSocket = bc; diff --git a/sharejs-base/package.js b/sharejs-base/package.js index 25803d9..8acc7f9 100644 --- a/sharejs-base/package.js +++ b/sharejs-base/package.js @@ -8,7 +8,8 @@ Package.describe({ Npm.depends({ // Fork of 0.6.3 that doesn't require("mongodb"): // https://github.com/meteor/meteor/issues/532#issuecomment-82635979 - share: "https://github.com/mizzao/ShareJS/tarball/05b625ea1e7f7f27bd13ba7ed05102b38dd175e5" + // Includes "Failed to parse" bugfix + share: "https://github.com/qeek/sharejs-tmp-fork/tarball/94c059bd4da24de8e6e90fb83484dd9c7b0efd59" }); Package.onUse(function (api) {