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
+1 -3
View File
@@ -1,10 +1,8 @@
define([
'jquery',
'/bower_components/chainpad-crypto/crypto.js',
'/bower_components/chainpad/chainpad.dist.js',
], function ($, Crypto) {
var ChainPad = window.ChainPad;
], function ($, Crypto, ChainPad) {
var History = {};
var getStates = function (rt) {