mirror of
https://github.com/jlengrand/webcomponentsjs.git
synced 2026-03-10 08:51:22 +00:00
De-obfuscate var names.
This commit is contained in:
@@ -16,11 +16,11 @@ window.CustomElements = window.CustomElements || {flags:{}};
|
||||
// Flags. Convert url arguments to flags
|
||||
var flags = {};
|
||||
if (!flags.noOpts) {
|
||||
location.search.slice(1).split('&').forEach(function(o) {
|
||||
o = o.split('=');
|
||||
var m;
|
||||
if (o[0] && (m = o[0].match(/wc-(.+)/))) {
|
||||
flags[m[1]] = o[1] || true;
|
||||
location.search.slice(1).split('&').forEach(function(option) {
|
||||
var parts = option.split('=');
|
||||
var match;
|
||||
if (parts[0] && (match = parts[0].match(/wc-(.+)/))) {
|
||||
flags[match[1]] = parts[1] || true;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -16,11 +16,11 @@ window.HTMLImports = window.HTMLImports || {flags:{}};
|
||||
// Flags. Convert url arguments to flags
|
||||
var flags = {};
|
||||
if (!flags.noOpts) {
|
||||
location.search.slice(1).split('&').forEach(function(o) {
|
||||
o = o.split('=');
|
||||
var m;
|
||||
if (o[0] && (m = o[0].match(/wc-(.+)/))) {
|
||||
flags[m[1]] = o[1] || true;
|
||||
location.search.slice(1).split('&').forEach(function(option) {
|
||||
var parts = option.split('=');
|
||||
var match;
|
||||
if (parts[0] && (match = parts[0].match(/wc-(.+)/))) {
|
||||
flags[match[1]] = parts[1] || true;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -21,11 +21,11 @@ window.WebComponents = window.WebComponents || {};
|
||||
// Flags. Convert url arguments to flags
|
||||
if (!flags.noOpts) {
|
||||
// from url
|
||||
location.search.slice(1).split('&').forEach(function(o) {
|
||||
o = o.split('=');
|
||||
var m;
|
||||
if (o[0] && (m = o[0].match(/wc-(.+)/))) {
|
||||
flags[m[1]] = o[1] || true;
|
||||
location.search.slice(1).split('&').forEach(function(option) {
|
||||
var parts = option.split('=');
|
||||
var match;
|
||||
if (parts[0] && (match = parts[0].match(/wc-(.+)/))) {
|
||||
flags[match[1]] = parts[1] || true;
|
||||
}
|
||||
});
|
||||
// from script
|
||||
|
||||
@@ -21,11 +21,11 @@ window.WebComponents = window.WebComponents || {};
|
||||
// Flags. Convert url arguments to flags
|
||||
if (!flags.noOpts) {
|
||||
// from url
|
||||
location.search.slice(1).split('&').forEach(function(o) {
|
||||
o = o.split('=');
|
||||
var m;
|
||||
if (o[0] && (m = o[0].match(/wc-(.+)/))) {
|
||||
flags[m[1]] = o[1] || true;
|
||||
location.search.slice(1).split('&').forEach(function(option) {
|
||||
var parts = option.split('=');
|
||||
var match;
|
||||
if (parts[0] && (match = parts[0].match(/wc-(.+)/))) {
|
||||
flags[match[1]] = parts[1] || true;
|
||||
}
|
||||
});
|
||||
// from script
|
||||
|
||||
@@ -21,11 +21,11 @@
|
||||
var flags = {};
|
||||
if (!flags.noOpts) {
|
||||
// from url
|
||||
location.search.slice(1).split('&').forEach(function(o) {
|
||||
o = o.split('=');
|
||||
var m;
|
||||
if (o[0] && (m = o[0].match(/wc-(.+)/))) {
|
||||
flags[m[1]] = o[1] || true;
|
||||
location.search.slice(1).split('&').forEach(function(option) {
|
||||
var parts = option.split('=');
|
||||
var match;
|
||||
if (parts[0] && (match = parts[0].match(/wc-(.+)/))) {
|
||||
flags[match[1]] = parts[1] || true;
|
||||
}
|
||||
});
|
||||
// from script
|
||||
|
||||
@@ -21,11 +21,11 @@
|
||||
var flags = {};
|
||||
if (!flags.noOpts) {
|
||||
// from url
|
||||
location.search.slice(1).split('&').forEach(function(o) {
|
||||
o = o.split('=');
|
||||
var m;
|
||||
if (o[0] && (m = o[0].match(/wc-(.+)/))) {
|
||||
flags[m[1]] = o[1] || true;
|
||||
location.search.slice(1).split('&').forEach(function(option) {
|
||||
var parts = option.split('=');
|
||||
var match;
|
||||
if (parts[0] && (match = parts[0].match(/wc-(.+)/))) {
|
||||
flags[match[1]] = parts[1] || true;
|
||||
}
|
||||
});
|
||||
// from script
|
||||
|
||||
Reference in New Issue
Block a user