diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-07-01 12:35:24 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-07-01 12:35:24 +0800 |
commit | c3f18fcf2bbb66181703b9b96536ebe257dc2542 (patch) | |
tree | 43a60870b958d32503563cb46c3871778cbedf57 | |
parent | cd21a4b699fd692800e0fb6ef961d98e786925b6 (diff) | |
download | tangerine-wallet-browser-c3f18fcf2bbb66181703b9b96536ebe257dc2542.tar tangerine-wallet-browser-c3f18fcf2bbb66181703b9b96536ebe257dc2542.tar.gz tangerine-wallet-browser-c3f18fcf2bbb66181703b9b96536ebe257dc2542.tar.bz2 tangerine-wallet-browser-c3f18fcf2bbb66181703b9b96536ebe257dc2542.tar.lz tangerine-wallet-browser-c3f18fcf2bbb66181703b9b96536ebe257dc2542.tar.xz tangerine-wallet-browser-c3f18fcf2bbb66181703b9b96536ebe257dc2542.tar.zst tangerine-wallet-browser-c3f18fcf2bbb66181703b9b96536ebe257dc2542.zip |
Remove debugs from development
-rw-r--r-- | development/index.html | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/development/index.html b/development/index.html index 02fd01b03..deb3dc690 100644 --- a/development/index.html +++ b/development/index.html @@ -10,28 +10,5 @@ <div id="app-content" style="height: 100%"></div> <script src="./bundle.js" type="text/javascript" charset="utf-8"></script> - <!-- design reference --> - <link rel="stylesheet" type="text/css" href="../ui/app/css/debug.css"> - <div id="design-container"> - <!-- persist scroll position on refresh --> - <script type="text/javascript"> - var scrollElement = document.getElementById('design-container') - function getScrollPosition () { - var scrollTop = scrollElement.scrollTop, scrollLeft = scrollElement.scrollLeft - window.location.hash = 'scrollTop='+scrollTop+'&scrollLeft='+scrollLeft - } - window.onload = function () { - setInterval(getScrollPosition, 1000) - var hashLocation = window.location.hash.split('#')[1] - if (!hashLocation) return - var sections = hashLocation.split('&') - var scrollTop = sections[0].split('=')[1] - var scrollLeft = sections[1].split('=')[1] - scrollElement.scrollTop = scrollTop - scrollElement.scrollLeft = scrollLeft - } - </script> - </div> - </body> </html> |