This commit is contained in:
Andrey Shovkoplyas 2019-04-04 16:49:05 +02:00 committed by Julien Eluard
parent 4cca8fee63
commit 5cecbcac74
3 changed files with 18 additions and 1 deletions

View File

@ -16,4 +16,5 @@
binaryage/devtools {:mvn/version "0.9.10"}
re-frisk {:mvn/version "0.5.4.1"}}
:main-opts ["-m" "figwheel.main" "-b" "dev" "-r"]}
:compile {:main-opts ["-m" "cljs.main" "-O" "advanced" "-d" "resources/public/js/compiled" "-o" "resources/public/js/compiled/app.js" "-c" "pluto.playground.core"]}}}
:compile {:main-opts ["-m" "cljs.main" "-co" "prod.cljs.edn" "-O" "advanced" "-d" "resources/public/js/compiled"
"-o" "resources/public/js/compiled/app.js" "-c" "pluto.playground.core"]}}}

15
externs.js Normal file
View File

@ -0,0 +1,15 @@
var Web3Utils = {};
Web3Utils.rightPad = function(){};
Web3Utils.leftPad = function(){};
Web3Utils.toTwosComplement = function(){};
Web3Utils.fromUtf8 = function(){};
Web3Utils.bytesToHex = function(){};
Web3Utils.numberToHex = function(){};
Web3Utils.hexToUtf8 = function(){};
Web3Utils.sha3 = function(){};
var toBigNumber = function(){};
var ethereum = {};
ethereum.enable = function(){};
ethereum.sendAsync = function(){};

1
prod.cljs.edn Normal file
View File

@ -0,0 +1 @@
{:externs ["externs.js"]}