diff --git a/exportWhoDidWhat.js b/exportWhoDidWhat.js index aca9e6f..f620752 100644 --- a/exportWhoDidWhat.js +++ b/exportWhoDidWhat.js @@ -1,6 +1,6 @@ 'use strict'; -const async = require('ep_etherpad-lite/node_modules/async'); +const async = require('async'); const Changeset = require('ep_etherpad-lite/static/js/Changeset'); const padManager = require('ep_etherpad-lite/node/db/PadManager'); const authorManager = require('ep_etherpad-lite/node/db/AuthorManager'); diff --git a/index.js b/index.js index 6944419..a558112 100755 --- a/index.js +++ b/index.js @@ -17,7 +17,7 @@ const {template} = require('ep_plugin_helpers'); * See the License for the specific language governing permissions and * limitations under the License. */ -const eejs = require('ep_etherpad-lite/node/eejs/'); +const eejs = require('ep_etherpad-lite/node/eejs'); const settings = require('ep_etherpad-lite/node/utils/Settings'); exports.eejsBlock_timesliderScripts = (fn, args, cb) => { diff --git a/package.json b/package.json index 10275fa..482a3e4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ep_who_did_what", - "version": "11.0.30", + "version": "11.0.31", "description": "Who made what changes to a pad? A historical report available in the timeslider", "author": "John McLear ", "contributors": [], @@ -25,6 +25,7 @@ "url": "https://github.com/ether/ep_who_did_what.git" }, "dependencies": { - "ep_plugin_helpers": "^0.6.2" + "ep_plugin_helpers": "^0.6.2", + "async": "^3.2.6" } }