From 7136a292344a3d2e96feeb2c05422fa3674d0d69 Mon Sep 17 00:00:00 2001 From: Stefan Breunig Date: Fri, 1 Feb 2013 13:48:28 +0100 Subject: [PATCH] fix bugs --- README.md | 2 +- code/boot.js | 2 +- main.js | 16 ++++++++-------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index a64652a3..7ce242c8 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -**NOTEL: this is a work in progress and not yet finished. ** +*NOTE: this is a work in progress and not yet finished. * ingress.com/intel total conversion diff --git a/code/boot.js b/code/boot.js index 166d142f..d548a13f 100644 --- a/code/boot.js +++ b/code/boot.js @@ -161,7 +161,7 @@ function asyncLoadScript(a){return function(b,c){var d=document.createElement("s // modified version of https://github.com/shramov/leaflet-plugins. Also // contains the default Ingress map style. -var LLGMAPS = 'https://raw.github.com/breunigs/ingress-intel-total-conversion/master/leaflet_google.js'; +var LLGMAPS = 'http://breunigs.github.com/ingress-intel-total-conversion/leaflet_google.js'; var JQUERY = 'https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js'; var LEAFLET = 'http://cdn.leafletjs.com/leaflet-0.5/leaflet.js'; diff --git a/main.js b/main.js index 2c1b310a..ff75efca 100644 --- a/main.js +++ b/main.js @@ -3,8 +3,8 @@ // @name intel map total conversion // @version 0.1-@@BUILDDATE@@ // @namespace https://github.com/breunigs/ingress-intel-total-conversion -// @updateURL https://raw.github.com/breunigs/ingress-intel-total-conversion/master/total-conversion-build.user.js -// @downloadURL https://raw.github.com/breunigs/ingress-intel-total-conversion/master/total-conversion-build.user.js +// @updateURL https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/total-conversion-build.user.js +// @downloadURL https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/total-conversion-build.user.js // @description total conversion for the ingress intel map. // @include http://www.ingress.com/intel* // ==/UserScript== @@ -39,13 +39,13 @@ for(var i = 0; i < d.length; i++) { // remove complete page. We only wanted the user-data and the page’s // security context so we can access the API easily. Setup as much as // possible without requiring scripts. -document.getElementsByTagName('head')[0].innerHTML = - '' - '' - + ''; +document.getElementsByTagName('head')[0].innerHTML = '' + + '' + + '' + + ''; -document.getElementsByTagName('body')[0].innerHTML = - '
Loading, please wait
' +document.getElementsByTagName('body')[0].innerHTML = '' + + '
Loading, please wait
' + '