From 0ee808295b1fb7223768b992a1c984830296738e Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 10 Feb 2017 14:29:01 +0100 Subject: [PATCH] make sure jquery is imported before using it --- customize.dist/fsStore.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/customize.dist/fsStore.js b/customize.dist/fsStore.js index 34c77616d..021a57fe0 100644 --- a/customize.dist/fsStore.js +++ b/customize.dist/fsStore.js @@ -4,7 +4,8 @@ define([ '/bower_components/chainpad-listmap/chainpad-listmap.js', '/bower_components/chainpad-crypto/crypto.js', '/bower_components/textpatcher/TextPatcher.amd.js', - '/common/fileObject.js' + '/common/fileObject.js', + '/bower_components/jquery/dist/jquery.min.js', ], function (Config, Messages, Listmap, Crypto, TextPatcher, FO) { /* This module uses localStorage, which is synchronous, but exposes an @@ -14,6 +15,7 @@ define([ To override these methods, create another file at: /customize/storage.js */ + var $ = window.jQuery; var Store = {}; var store;