]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
minify bookmarklet js
authorNicolas Lœuillet <nicolas.loeuillet@gmail.com>
Tue, 6 Aug 2013 09:00:42 +0000 (11:00 +0200)
committerNicolas Lœuillet <nicolas.loeuillet@gmail.com>
Tue, 6 Aug 2013 09:00:42 +0000 (11:00 +0200)
tpl/_bookmarklet.twig

index 0595d57e53dcda5ade04d215e273e6b2757da88e..2f3b2d1654beedd9af7d13ec2ac731628ff8c15a 100644 (file)
@@ -1,20 +1,3 @@
         <script type="text/javascript">
-          top["bookmarklet-url@inthepoche.com"] = ''
-            +'<!DOCTYPE html>'
-            +'<html>'
-              +'<head>'
-            +'<title>poche it !</title>'
-            +'<link rel="icon" href="{{poche_url}}tpl/img/favicon.ico" />'
-              +'</head>'
-              +'<body>'
-            +'<script>'
-              +'window.onload=function(){'
-                +'window.setTimeout(function(){'
-                  +'history.back();'
-                +'},250);'
-              +'};'
-            +'</scr'+'ipt>'
-              +'</body>'
-            +'</html>'
-          ;
+          top["bookmarklet-url@inthepoche.com"]=""+"<!DOCTYPE html>"+"<html>"+"<head>"+"<title>poche it !</title>"+'<link rel="icon" href="{{poche_url}}tpl/img/favicon.ico" />'+"</head>"+"<body>"+"<script>"+"window.onload=function(){"+"window.setTimeout(function(){"+"history.back();"+"},250);"+"};"+"</scr"+"ipt>"+"</body>"+"</html>"
         </script>
\ No newline at end of file