X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=js%2Ffragment.js;h=50ec9438de83d503504d98e910b5c8701bbee63a;hb=79f0cfc91b7220d98e4caf50fbb3857807fc6bc4;hp=23f22d0ca57a771da8a984ee5cb3628a87780015;hpb=d5d1945e199af296bdec6267eea99e577bb97c3e;p=euphorik.git diff --git a/js/fragment.js b/js/fragment.js index 23f22d0..50ec943 100644 --- a/js/fragment.js +++ b/js/fragment.js @@ -25,7 +25,7 @@ Fragment = function() { var replaceHtmlCode = function(str) { return str.replace(/%(\d\d)/g, function(text, code) { return String.fromCharCode(parseInt(code, 16)); - }) + }); }; this.fragments = {}; if (!window.location.hash) { @@ -38,7 +38,6 @@ Fragment = function() { thisFragment.fragments[tuple[0]] = JSON.parse(tuple[1]); }); } catch(error) { - alert(error) ;; console.log(error); } }; @@ -73,4 +72,4 @@ Fragment.prototype.write = function() { first = false; }); window.location.hash = fragmentsStr; -}; \ No newline at end of file +};