update externs & add lein generate-externs

This commit is contained in:
Roman Volosovskyi 2017-02-19 16:46:16 +02:00
parent 42c356f604
commit 6ec0c4d6f7
2 changed files with 26 additions and 28 deletions

View File

@ -15,7 +15,9 @@ var TopLevel = {
"capture" : function () {},
"catch" : function () {},
"Chance" : function () {},
"clearCookies" : function () {},
"clearInterval" : function () {},
"clearStorageAPIs" : function () {},
"clearTimeout" : function () {},
"Clipboard" : function () {},
"cloneWithRows" : function () {},
@ -42,15 +44,14 @@ var TopLevel = {
"DeviceEventEmitter" : function () {},
"digest" : function () {},
"Dimensions" : function () {},
"disableYellowBox" : function () {},
"discardTransaction" : function () {},
"dy" : function () {},
"encrypt" : function () {},
"ENC_DEC" : function () {},
"end" : function () {},
"endCoordinates" : function () {},
"Error" : function () {},
"eth" : function () {},
"getBlock" : function () {},
"event" : function () {},
"fallbacks" : function () {},
"fetch" : function () {},
@ -64,10 +65,13 @@ var TopLevel = {
"generate" : function () {},
"get" : function () {},
"getAll" : function () {},
"getBlock" : function () {},
"getCardId" : function () {},
"getExample" : function () {},
"getInitialOrientation" : function () {},
"getLayout" : function () {},
"getNumber" : function () {},
"getExample" : function () {},
"getSyncing" : function () {},
"getTime" : function () {},
"getTimezoneOffset" : function () {},
"goog" : function () {},
@ -76,6 +80,8 @@ var TopLevel = {
"height" : function () {},
"hex" : function () {},
"hide" : function () {},
"HttpProvider" : function () {},
"IBGLog" : function () {},
"indexOf" : function () {},
"initialPage" : function () {},
"initJail" : function () {},
@ -83,8 +89,6 @@ var TopLevel = {
"isConnected" : function () {},
"isMatches" : function () {},
"isMobile" : function () {},
"isSyncing" : function () {},
"getSyncing" : function () {},
"isValid" : function () {},
"Item" : function () {},
"JSON" : function () {},
@ -92,6 +96,7 @@ var TopLevel = {
"Keyboard" : function () {},
"layout" : function () {},
"length" : function () {},
"Linking" : function () {},
"locale" : function () {},
"lockToPortrait" : function () {},
"log" : function () {},
@ -103,10 +108,12 @@ var TopLevel = {
"moveY" : function () {},
"nativeEvent" : function () {},
"NativeModules" : function () {},
"Number" : function () {},
"objects" : function () {},
"open" : function () {},
"openDrawer" : function () {},
"openPicker" : function () {},
"openURL" : function () {},
"OS" : function () {},
"p" : function () {},
"panHandlers" : function () {},
@ -115,20 +122,21 @@ var TopLevel = {
"parse" : function () {},
"parseInt" : function () {},
"parseJail" : function () {},
"clearCookies": function () {},
"clearStorageAPIs": function () {},
"path" : function () {},
"Platform" : function () {},
"post" : function () {},
"prototype" : function () {},
"providers" : function () {},
"push" : function () {},
"random" : function () {},
"randomBytes" : function () {},
"ReactNative" : function () {},
"readFile" : function () {},
"readTag" : function () {},
"realm-class" : function () {},
"recoverAccount" : function () {},
"registerComponent" : function () {},
"reload" : function () {},
"remove" : function () {},
"removeAllListeners" : function () {},
"require" : function () {},
@ -166,6 +174,7 @@ var TopLevel = {
"startsWith" : function () {},
"Status" : function () {},
"status" : function () {},
"stop" : function () {},
"stopAnimation" : function () {},
"stopNodeRPCServer" : function () {},
"stopWatching" : function () {},
@ -175,9 +184,12 @@ var TopLevel = {
"text" : function () {},
"then" : function () {},
"timing" : function () {},
"toAscii" : function () {},
"toBits" : function () {},
"toDecimal" : function () {},
"toLocaleString" : function () {},
"toLowerCase" : function () {},
"toNumber" : function () {},
"toString" : function () {},
"toUtf8" : function () {},
"translations" : function () {},
@ -189,27 +201,11 @@ var TopLevel = {
"vy" : function () {},
"Web3" : function () {},
"web3" : function () {},
"providers" : function () {},
"HttpProvider": function () {},
"width" : function () {},
"window" : function () {},
"write" : function () {},
"writeTag" : function () {},
"x" : function () {},
"y" : function () {},
"_value" : function () {},
"ListView": function() {},
"DataSource": function() {},
"IBGLog": function() {},
"getCardId": function() {},
"readTag": function() {},
"writeTag": function() {},
"Error": function() {},
"Linking": function() {},
"reload": function() {},
"stop": function() {},
"toLocaleString": function() {},
"openURL": function() {},
"Number" : function () {},
"toAscii" : function () {},
"toNumber" : function () {}
};
"_value" : function () {}
}

View File

@ -12,12 +12,14 @@
[tailrecursion/cljs-priority-map "1.2.0"]
[com.taoensso/timbre "4.7.4"]]
:plugins [[lein-cljsbuild "1.1.4"]
[lein-figwheel "0.5.8"]]
[lein-figwheel "0.5.8"]
[rasom/lein-externs "0.1.7"]]
:clean-targets ["target/" "index.ios.js" "index.android.js"]
:aliases {"prod-build" ^{:doc "Recompile code with prod profile."}
["do" "clean"
["with-profile" "prod" "cljsbuild" "once" "ios"]
["with-profile" "prod" "cljsbuild" "once" "android"]]}
["with-profile" "prod" "cljsbuild" "once" "android"]]
"generate-externs" ["with-profile" "prod" "externs" "android" "externs/externs.js"]}
:test-paths ["test/clj"]
:figwheel {:nrepl-port 7888}
:profiles {:dev {:dependencies [[figwheel-sidecar "0.5.8"]