X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=common%2Fbootstrap.js;fp=common%2Fbootstrap.js;h=d81411ea2877bbb8558e89731af3a158efa59f30;hb=5ebd29f56d17f62011cdd596b1d351947ee534ff;hp=e029387cbea0e7a72404e9f3f9d59ec2793c471d;hpb=9044153cb63835e39b9de8ec4ade237c03e3888a;p=dactyl.git diff --git a/common/bootstrap.js b/common/bootstrap.js index e029387..d81411e 100755 --- a/common/bootstrap.js +++ b/common/bootstrap.js @@ -195,8 +195,6 @@ function init() { break; case "resource": - var hardSuffix = /^[^\/]*/.exec(fields[2])[0]; - resources.push(fields[1], fields[1] + suffix); resourceProto.setSubstitution(fields[1], getURI(fields[2])); resourceProto.setSubstitution(fields[1] + suffix, getURI(fields[2])); @@ -205,7 +203,7 @@ function init() { // Flush the cache if necessary, just to be paranoid let pref = "extensions.dactyl.cacheFlushCheck"; - let val = addon.version + "-" + hardSuffix; + let val = addon.version; if (!Services.prefs.prefHasUserValue(pref) || Services.prefs.getCharPref(pref) != val) { var cacheFlush = true; Services.obs.notifyObservers(null, "startupcache-invalidate", "");