aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/assets/js/context_a.min.js
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-12-10 14:25:29 -0500
committerGitHub <noreply@github.com>2017-12-10 14:25:29 -0500
commit1d4380cee77fc049a54d280a27dcefa3fa6ff1fd (patch)
tree6aa222b3f88862a46c8ffd0e46bfb94755d54729 /app/src/main/assets/js/context_a.min.js
parent30eb51a44a271512e27c97aecc02f3a339f572bf (diff)
downloadfrost-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/context_a.min.js')
-rw-r--r--app/src/main/assets/js/context_a.min.js36
1 files changed, 0 insertions, 36 deletions
diff --git a/app/src/main/assets/js/context_a.min.js b/app/src/main/assets/js/context_a.min.js
deleted file mode 100644
index 260b41ff..00000000
--- a/app/src/main/assets/js/context_a.min.js
+++ /dev/null
@@ -1,36 +0,0 @@
-if(!window.hasOwnProperty("frost_context_a")){
-console.log("frost_context_a frost_click_a"),
-window.frost_context_a=!0
-;var longClick=!1,_frostAContext=function(e){
-"undefined"!=typeof Frost&&Frost.longClick(!0),
-longClick=!0
-;var t=e.target||e.currentTarget||e.srcElement
-;if(t&&("A"!==t.tagName&&(t=t.parentNode),
-"A"!==t.tagName&&(t=t.parentNode),"A"===t.tagName&&"#"!==t.getAttribute("href"))){
-var o=t.getAttribute("href")
-;if(!o)return
-;var n=t.parentNode.innerText,r=t.querySelector('[style*="background-image: url("]')
-;if(r||(r=t.parentNode.querySelector('[style*="background-image: url("]')),
-r){
-var a=window.getComputedStyle(r,null).backgroundImage.trim().slice(4,-1)
-;return console.log("Context image: "+a),
-"undefined"!=typeof Frost&&Frost.loadImage(a,n),
-e.stopPropagation(),void e.preventDefault()
-}
-var i=t.querySelector("img[src*=scontent]")
-;if(i){
-var l=i.src
-;return console.log("Context img",l),"undefined"!=typeof Frost&&Frost.loadImage(l,n),
-e.stopPropagation(),
-void e.preventDefault()
-}
-console.log("Context Content",o,n),"undefined"!=typeof Frost&&Frost.contextMenu(o,n),
-e.stopPropagation(),
-e.preventDefault()
-}
-}
-;document.addEventListener("contextmenu",_frostAContext,!0),document.addEventListener("touchend",function(e){
-longClick&&("undefined"!=typeof Frost&&Frost.longClick(!1),
-longClick=!1)
-},!0)
-} \ No newline at end of file