Comparing version 2.0.0-pre-HYFXM3QM to 2.0.0-pre-HZ79PDUK
@@ -5,3 +5,3 @@ { | ||
"author": "apache.org", | ||
"version": "2.0.0-pre-HYFXM3QM", | ||
"version": "2.0.0-pre-HZ79PDUK", | ||
"tags": [ "debug"], | ||
@@ -8,0 +8,0 @@ "licenses": |
@@ -1,2 +0,2 @@ | ||
weinre build 2.0.0-pre-HYFXM3QM by Patrick Mueller | ||
git: 198d290b5fc0b873b67e3f6c344055a9fe5611a7 CB-6991 Weinre fails to load in browsers without a built-in development console | ||
weinre build 2.0.0-pre-HZ79PDUK by Patrick Mueller | ||
git: ad3c24fe15d119b6e0a712c061e9269418382692 Allow update of weinreId without page refresh (attach to onhashchange). |
@@ -26,23 +26,29 @@ /* | ||
var hash = location.href.split("#")[1] | ||
if (hash) { | ||
weinre_id = hash | ||
} | ||
function doReplacements() { | ||
var hash = location.href.split("#")[1] | ||
if (hash) { | ||
weinre_id = hash | ||
} | ||
replaceURL("url-client-ui", buildHttpURL("client/#" + weinre_id)) | ||
replaceURL("url-interfaces", buildHttpURL("interfaces/interfaces.html")) | ||
replaceURL("url-target-demo", buildHttpURL("demo/weinre-demo.html#" + weinre_id)) | ||
replaceURL("url-target-demo-min", buildHttpURL("demo/weinre-demo-min.html#" + weinre_id)) | ||
replaceURL("url-target-script", buildHttpURL("target/target-script-min.js#" + weinre_id)) | ||
replaceURL("url-target-bookmarklet", getTargetBookmarklet(), "weinre target debug") | ||
replaceURL("url-target-documentation", buildHttpURL("doc/")) | ||
replaceURL("url-client-ui", buildHttpURL("client/#" + weinre_id)) | ||
replaceURL("url-interfaces", buildHttpURL("interfaces/interfaces.html")) | ||
replaceURL("url-target-demo", buildHttpURL("demo/weinre-demo.html#" + weinre_id)) | ||
replaceURL("url-target-demo-min", buildHttpURL("demo/weinre-demo-min.html#" + weinre_id)) | ||
replaceURL("url-target-script", buildHttpURL("target/target-script-min.js#" + weinre_id)) | ||
replaceURL("url-target-bookmarklet", getTargetBookmarklet(), "weinre target debug") | ||
replaceURL("url-target-documentation", buildHttpURL("doc/")) | ||
replaceText("version-weinre", Weinre.Versions.weinre) | ||
replaceText("version-build", Weinre.Versions.build) | ||
replaceText("version-weinre", Weinre.Versions.weinre) | ||
replaceText("version-build", Weinre.Versions.build) | ||
replaceText("target-bookmarklet-src-pre", getTargetBookmarklet()) | ||
replaceText("target-bookmarklet-src-text-area", getTargetBookmarklet()) | ||
replaceText("target-bookmarklet-src-pre", getTargetBookmarklet()) | ||
replaceText("target-bookmarklet-src-text-area", getTargetBookmarklet()) | ||
replaceText("url-target-script-raw", buildHttpURL("target/target-script-min.js#" + weinre_id)) | ||
replaceText("url-target-script-raw", buildHttpURL("target/target-script-min.js#" + weinre_id)) | ||
} | ||
doReplacements(); | ||
window.onhashchange = doReplacements; | ||
//--------------------------------------------------------------------- | ||
@@ -49,0 +55,0 @@ function buildHttpURL(uri) { |
@@ -23,4 +23,4 @@ /* | ||
Weinre.Versions = { | ||
weinre: "2.0.0-pre-HYFXM3QM", | ||
build: "HYFXM3QM", | ||
weinre: "2.0.0-pre-HZ79PDUK", | ||
build: "HZ79PDUK", | ||
}; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5269357
72103