aboutsummaryrefslogtreecommitdiffstats
path: root/ui-dev.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-07-07 08:58:46 +0800
committerDan Finlay <dan@danfinlay.com>2016-07-07 08:58:46 +0800
commit7058dc4ee3d00f4d4e407c656cf671b2d4fd62f2 (patch)
tree5364558379541311895ddd20c2675739541da5e4 /ui-dev.js
parent2c89cd722ed66f9f8522913b1a5bbc55ce5a7ca6 (diff)
downloadtangerine-wallet-browser-7058dc4ee3d00f4d4e407c656cf671b2d4fd62f2.tar
tangerine-wallet-browser-7058dc4ee3d00f4d4e407c656cf671b2d4fd62f2.tar.gz
tangerine-wallet-browser-7058dc4ee3d00f4d4e407c656cf671b2d4fd62f2.tar.bz2
tangerine-wallet-browser-7058dc4ee3d00f4d4e407c656cf671b2d4fd62f2.tar.lz
tangerine-wallet-browser-7058dc4ee3d00f4d4e407c656cf671b2d4fd62f2.tar.xz
tangerine-wallet-browser-7058dc4ee3d00f4d4e407c656cf671b2d4fd62f2.tar.zst
tangerine-wallet-browser-7058dc4ee3d00f4d4e407c656cf671b2d4fd62f2.zip
Began reworking tx conf view
Diffstat (limited to 'ui-dev.js')
-rw-r--r--ui-dev.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/ui-dev.js b/ui-dev.js
index 7498ff8ea..93bd8c3b6 100644
--- a/ui-dev.js
+++ b/ui-dev.js
@@ -1,3 +1,20 @@
+/* UI DEV
+ *
+ * This is a utility module.
+ * It initializes a minimalist browserifiable project
+ * that contains the Metamask UI, with a mocked state.
+ *
+ * Includes a state menu for switching between different
+ * mocked states, along with query param support,
+ * so those states are preserved when live-reloading.
+ *
+ * This is a convenient way to develop on the UI
+ * without having to re-enter your password
+ * every time the plugin rebuilds.
+ *
+ * To use, run `npm run ui`.
+ */
+
const render = require('react-dom').render
const h = require('react-hyperscript')
const Root = require('./ui/app/root')