diff options
author | Allan Wang <me@allanwang.ca> | 2017-12-10 14:25:29 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-10 14:25:29 -0500 |
commit | 1d4380cee77fc049a54d280a27dcefa3fa6ff1fd (patch) | |
tree | 6aa222b3f88862a46c8ffd0e46bfb94755d54729 /app/src/main/assets/js/search.js | |
parent | 30eb51a44a271512e27c97aecc02f3a339f572bf (diff) | |
download | frost-1d4380cee77fc049a54d280a27dcefa3fa6ff1fd.tar.gz frost-1d4380cee77fc049a54d280a27dcefa3fa6ff1fd.tar.bz2 frost-1d4380cee77fc049a54d280a27dcefa3fa6ff1fd.zip |
theme (#546)
* Update to coffee and use webstorm
* Add chrome as well
* Update all
* Reinstall android 27
Diffstat (limited to 'app/src/main/assets/js/search.js')
-rw-r--r-- | app/src/main/assets/js/search.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/app/src/main/assets/js/search.js b/app/src/main/assets/js/search.js deleted file mode 100644 index 0a8954ef..00000000 --- a/app/src/main/assets/js/search.js +++ /dev/null @@ -1,19 +0,0 @@ -//binds callbacks to an invisible webview to take in the search events -if (!window.hasOwnProperty('frost_search')) { - console.log('Registering frost_search'); - window.frost_search = true; - var _f_page = document.querySelector('#page'); - // var _f_input = document.querySelector('#main-search-input') - if (!_f_page) Frost.emit(1); - else { - Frost.emit(0); - var x = new MutationObserver(function(mutations) { - Frost.handleHtml(page.innerHTML); - Frost.emit(2); - }); - x.observe(_f_page, { - childList: true, - subtree: true - }); - } -} |