Remove TextPatcher and begin to include ChainPad directly using requirejs instead of sniffing off the window

This commit is contained in:
Caleb James DeLisle
2017-11-09 17:07:04 +01:00
parent 840cd91bcb
commit 7b62a8042e
13 changed files with 44 additions and 32 deletions

View File

@@ -15,16 +15,36 @@ define([
'/file/file-crypto.js',
'/common/common-realtime.js',
'/common/common-language.js',
'/common/clipboard.js',
'/common/pinpad.js',
'/customize/application_config.js',
'/common/media-tag.js',
'/bower_components/nthen/index.js',
'/bower_components/localforage/dist/localforage.min.js',
], function ($, Config, Messages, Store, Util, Hash, UI, History, UserList, Title, Metadata,
Messaging, Files, FileCrypto, Realtime, Language, Clipboard,
Pinpad, AppConfig, MediaTag, Nthen, localForage) {
], function (
$,
Config,
Messages,
Store,
Util,
Hash,
UI,
History,
UserList,
Title,
Metadata,
Messaging,
Files,
FileCrypto,
Realtime,
Language,
Clipboard,
Pinpad,
AppConfig,
MediaTag,
Nthen,
localForage)
{
// Configure MediaTags to use our local viewer
if (MediaTag && MediaTag.PdfPlugin) {