Maintain preset flags

Previously this was just bashing over any flags you passed in.
This commit is contained in:
Jacob MacDonald
2014-11-18 13:19:05 -08:00
parent 7cea00d4ce
commit bec32afa4d

View File

@@ -19,7 +19,6 @@ window.WebComponents = window.WebComponents || {};
var script = document.querySelector('script[src*="' + file + '"]');
// Flags. Convert url arguments to flags
var flags = {};
if (!flags.noOpts) {
// from url
location.search.slice(1).split('&').forEach(function(o) {