Merge pull request #488 from pratikborsadiya/fix-download-parameters-issue

Fix an issue with multiple parameters not working after webpack build
This commit is contained in:
Anthony Raymond 2018-12-09 11:30:22 +01:00 committed by GitHub
commit 19a4111d90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 11 additions and 11 deletions

View File

@ -500,10 +500,10 @@
var i = [],
r = e.cloneDeep(a);
e.each(n, function(e) {
e.startsWith("--")
? ((uri_options = e.split(/--|=(.*)/)),
uri_options.length > 2 && (r[uri_options[2]] = uri_options[3] || "true"))
: i.push(e);
if (e.startsWith("--")) {
var t = e.split(/--|=(.*)/);
t.length > 2 && (r[t[2]] = t[3] || "true");
} else i.push(e);
}),
t.once("addUri", [i, r], o, !0);
}),

View File

@ -3,7 +3,7 @@
<!-- {{{ head -->
<head>
<link rel="icon" href="favicon.ico" />
<link rel="icon" href="../favicon.ico" />
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

View File

@ -4,7 +4,7 @@ self.__precacheManifest = [
url: "flags/de.svg"
},
{
revision: "9be2d6fa33228eaaef3a00ce10238d31",
revision: "3b828f54c0e614e18db2c1816c9c2e84",
url: "index.html"
},
{
@ -72,11 +72,11 @@ self.__precacheManifest = [
url: "flags/br.svg"
},
{
revision: "23a22250de06d1793dc4",
revision: "e1870e757b1b72d20d1f",
url: "app.js"
},
{
revision: "23a22250de06d1793dc4",
revision: "e1870e757b1b72d20d1f",
url: "app.css"
}
];

View File

@ -13,7 +13,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.4.1/workbox-sw.js");
importScripts("precache-manifest.52b448caf742d9881a064bf25c755e89.js");
importScripts("precache-manifest.b562a874cfed1a8c74df9b49e6f1c2cc.js");
/**
* The workboxSW.precacheAndRoute() method efficiently caches and responds to

View File

@ -7,7 +7,7 @@
"scripts": {
"dev": "webpack -d --watch --progress & node node-server",
"build": "webpack -p --progress",
"analyze": "webpack --profile --json > stats.json && webpack-bundle-analyzer stats.json ./build -p 9999",
"analyze": "webpack -p --profile --json > stats.json && webpack-bundle-analyzer stats.json ./docs -p 9999",
"format": "prettier -l --write \"**/*{js,scss}\" "
},
"repository": {

View File

@ -29,7 +29,7 @@ export default angular
var uriSettings = _.cloneDeep(settings);
_.each(uri, function(uri_element) {
if (uri_element.startsWith("--")) {
uri_options = uri_element.split(/--|=(.*)/);
var uri_options = uri_element.split(/--|=(.*)/);
if (uri_options.length > 2) {
uriSettings[uri_options[2]] = uri_options[3] || "true";
}