Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1446)

Unified Diff: third_party/polymer/components/polymer/polymer-mini.html

Issue 2113853002: Run bower update (Closed) Base URL: https://github.com/catapult-project/catapult@polymer10-migration
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/polymer/components/polymer/polymer-mini.html
diff --git a/third_party/polymer/components/polymer/polymer-mini.html b/third_party/polymer/components/polymer/polymer-mini.html
index 7b5df9c9331ec4ff31e2afcecde1e84e7352286f..f6dd537e8122d585d11d29c270f1c1ee3eddda76 100644
--- a/third_party/polymer/components/polymer/polymer-mini.html
+++ b/third_party/polymer/components/polymer/polymer-mini.html
@@ -8,8 +8,6 @@ Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
--><link rel="import" href="polymer-micro.html">
-
-
<script>Polymer.Base._addFeature({
_prepTemplate: function () {
if (this._template === undefined) {
@@ -31,8 +29,7 @@ instanceTemplate: function (template) {
var dom = document.importNode(template._content || template.content, true);
return dom;
}
-});
-(function () {
+});(function () {
var baseAttachedCallback = Polymer.Base.attachedCallback;
Polymer.Base._addFeature({
_hostStack: [],
@@ -108,8 +105,7 @@ this._attachedPending = true;
}
}
});
-}());
-Polymer.ArraySplice = function () {
+}());Polymer.ArraySplice = function () {
function newSplice(index, removed, addedCount) {
return {
index: index,
@@ -278,8 +274,7 @@ return currentValue === previousValue;
}
};
return new ArraySplice();
-}();
-Polymer.domInnerHTML = function () {
+}();Polymer.domInnerHTML = function () {
var escapeAttrRegExp = /[&\u00A0"]/g;
var escapeDataRegExp = /[&\u00A0<>]/g;
function escapeReplace(c) {
@@ -375,8 +370,7 @@ s += getOuterHTML(child, node, composed);
return s;
}
return { getInnerHTML: getInnerHTML };
-}();
-(function () {
+}();(function () {
'use strict';
var nativeInsertBefore = Element.prototype.insertBefore;
var nativeAppendChild = Element.prototype.appendChild;
@@ -514,7 +508,7 @@ node.__dom.previousSibling = ref_node ? ref_node.__dom.previousSibling : contain
if (node.__dom.previousSibling) {
node.__dom.previousSibling.__dom.nextSibling = node;
}
-node.__dom.nextSibling = ref_node;
+node.__dom.nextSibling = ref_node || null;
if (node.__dom.nextSibling) {
node.__dom.nextSibling.__dom.previousSibling = node;
}
@@ -572,8 +566,7 @@ removeChild: function (parentNode, node) {
return nativeRemoveChild.call(parentNode, node);
}
};
-}());
-Polymer.DomApi = function () {
+}());Polymer.DomApi = function () {
'use strict';
var Settings = Polymer.Settings;
var TreeApi = Polymer.TreeApi;
@@ -690,8 +683,7 @@ return DomApi.factory(obj, patch);
var p = Element.prototype;
DomApi.matchesSelector = p.matches || p.matchesSelector || p.mozMatchesSelector || p.msMatchesSelector || p.oMatchesSelector || p.webkitMatchesSelector;
return DomApi;
-}();
-(function () {
+}();(function () {
'use strict';
var Settings = Polymer.Settings;
var DomApi = Polymer.DomApi;
@@ -1160,8 +1152,7 @@ configurable: true
DomApi.hasInsertionPoint = function (root) {
return Boolean(root && root._insertionPoints.length);
};
-}());
-(function () {
+}());(function () {
'use strict';
var Settings = Polymer.Settings;
var TreeApi = Polymer.TreeApi;
@@ -1279,8 +1270,7 @@ forwardProperties([
'nextElementSibling',
'previousElementSibling'
]);
-}());
-Polymer.Base.extend(Polymer.dom, {
+}());Polymer.Base.extend(Polymer.dom, {
_flushGuard: 0,
_FLUSH_MAX: 100,
_needsTakeRecords: !Polymer.Settings.useNativeCustomElements,
@@ -1328,8 +1318,7 @@ this._finishDebouncer = Polymer.Debounce(this._finishDebouncer, this._finishFlus
_finishFlush: function () {
Polymer.dom._debouncers = [];
}
-});
-Polymer.EventApi = function () {
+});Polymer.EventApi = function () {
'use strict';
var DomApi = Polymer.DomApi.ctor;
var Settings = Polymer.Settings;
@@ -1397,8 +1386,7 @@ event.__eventApi = new DomApi.Event(event);
return event.__eventApi;
};
return { factory: factory };
-}();
-(function () {
+}();(function () {
'use strict';
var DomApi = Polymer.DomApi.ctor;
var useShadow = Polymer.Settings.useShadow;
@@ -1437,8 +1425,7 @@ contains: function () {
return this.node.classList.contains.apply(this.node.classList, arguments);
}
};
-}());
-(function () {
+}());(function () {
'use strict';
var DomApi = Polymer.DomApi.ctor;
var Settings = Polymer.Settings;
@@ -1638,8 +1625,7 @@ h._alwaysNotify = h._isContentListener;
}
});
}
-}());
-(function () {
+}());(function () {
'use strict';
var DomApi = Polymer.DomApi.ctor;
var Settings = Polymer.Settings;
@@ -1690,8 +1676,7 @@ this._observer = null;
}
});
}
-}());
-(function () {
+}());(function () {
var DomApi = Polymer.DomApi;
var TreeApi = Polymer.TreeApi;
Polymer.Base._addFeature({
@@ -1998,8 +1983,7 @@ CustomElements.upgrade(children[i]);
}
}
}
-}());
-if (Polymer.Settings.useShadow) {
+}());if (Polymer.Settings.useShadow) {
Polymer.Base._addFeature({
_poolContent: function () {
},
@@ -2017,8 +2001,7 @@ this.shadowRoot.appendChild(this.root);
this.root = this.shadowRoot;
}
});
-}
-Polymer.Async = {
+}Polymer.Async = {
_currVal: 0,
_lastVal: 0,
_callbacks: [],
@@ -2068,8 +2051,7 @@ this._lastVal += len;
};
new window.MutationObserver(function () {
Polymer.Async._atEndOfMicrotask();
-}).observe(Polymer.Async._twiddle, { characterData: true });
-Polymer.Debounce = function () {
+}).observe(Polymer.Async._twiddle, { characterData: true });Polymer.Debounce = function () {
var Async = Polymer.Async;
var Debouncer = function (context) {
this.context = context;
@@ -2091,12 +2073,14 @@ stop: function () {
if (this.finish) {
this.finish();
this.finish = null;
+this.callback = null;
}
},
complete: function () {
if (this.finish) {
+var callback = this.callback;
this.stop();
-this.callback.call(this.context);
+callback.call(this.context);
}
}
};
@@ -2110,8 +2094,7 @@ debouncer.go(callback, wait);
return debouncer;
}
return debounce;
-}();
-Polymer.Base._addFeature({
+}();Polymer.Base._addFeature({
_setupDebouncers: function () {
this._debouncers = {};
},
@@ -2134,8 +2117,7 @@ if (debouncer) {
debouncer.stop();
}
}
-});
-Polymer.DomModule = document.createElement('dom-module');
+});Polymer.DomModule = document.createElement('dom-module');
Polymer.Base._addFeature({
_registerFeatures: function () {
this._prepIs();
@@ -2163,4 +2145,20 @@ this._tryReady();
},
_marshalBehavior: function (b) {
}
-});</script>
+});</script>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
« no previous file with comments | « third_party/polymer/components/polymer/polymer-micro.html ('k') | third_party/polymer/components/webcomponentsjs/.bower.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698