mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update polymer
This commit is contained in:
parent
d61dd06176
commit
c2111d130d
32 changed files with 182 additions and 132 deletions
|
@ -29,14 +29,14 @@
|
||||||
"web-component-tester": "*",
|
"web-component-tester": "*",
|
||||||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/polymerelements/iron-a11y-keys-behavior",
|
"homepage": "https://github.com/PolymerElements/iron-a11y-keys-behavior",
|
||||||
"_release": "1.0.5",
|
"_release": "1.0.5",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "v1.0.5",
|
"tag": "v1.0.5",
|
||||||
"commit": "cf833eab5c55a26c5aa92e56d3fcb079120ce66a"
|
"commit": "cf833eab5c55a26c5aa92e56d3fcb079120ce66a"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/polymerelements/iron-a11y-keys-behavior.git",
|
"_source": "git://github.com/PolymerElements/iron-a11y-keys-behavior.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
"_originalSource": "polymerelements/iron-a11y-keys-behavior"
|
"_originalSource": "PolymerElements/iron-a11y-keys-behavior"
|
||||||
}
|
}
|
|
@ -27,14 +27,14 @@
|
||||||
"web-component-tester": "*",
|
"web-component-tester": "*",
|
||||||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/polymerelements/iron-behaviors",
|
"homepage": "https://github.com/PolymerElements/iron-behaviors",
|
||||||
"_release": "1.0.8",
|
"_release": "1.0.8",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "v1.0.8",
|
"tag": "v1.0.8",
|
||||||
"commit": "663ad706b43989f4961d945b8116cf4db346532f"
|
"commit": "663ad706b43989f4961d945b8116cf4db346532f"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/polymerelements/iron-behaviors.git",
|
"_source": "git://github.com/PolymerElements/iron-behaviors.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
"_originalSource": "polymerelements/iron-behaviors"
|
"_originalSource": "PolymerElements/iron-behaviors"
|
||||||
}
|
}
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "iron-overlay-behavior",
|
"name": "iron-overlay-behavior",
|
||||||
"version": "1.0.7",
|
"version": "1.0.8",
|
||||||
"license": "http://polymer.github.io/LICENSE.txt",
|
"license": "http://polymer.github.io/LICENSE.txt",
|
||||||
"description": "Provides a behavior for making an element an overlay",
|
"description": "Provides a behavior for making an element an overlay",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
@ -35,11 +35,11 @@
|
||||||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/polymerelements/iron-overlay-behavior",
|
"homepage": "https://github.com/polymerelements/iron-overlay-behavior",
|
||||||
"_release": "1.0.7",
|
"_release": "1.0.8",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "v1.0.7",
|
"tag": "v1.0.8",
|
||||||
"commit": "48c563035fdf9fec2587c42630ad6aa952e55931"
|
"commit": "cf25fe1ff2f585fa84190537bf62b94eb1579aad"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/polymerelements/iron-overlay-behavior.git",
|
"_source": "git://github.com/polymerelements/iron-overlay-behavior.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "iron-overlay-behavior",
|
"name": "iron-overlay-behavior",
|
||||||
"version": "1.0.7",
|
"version": "1.0.8",
|
||||||
"license": "http://polymer.github.io/LICENSE.txt",
|
"license": "http://polymer.github.io/LICENSE.txt",
|
||||||
"description": "Provides a behavior for making an element an overlay",
|
"description": "Provides a behavior for making an element an overlay",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
|
|
@ -139,7 +139,7 @@ context. You should place this element as a child of `<body>` whenever possible.
|
||||||
},
|
},
|
||||||
|
|
||||||
listeners: {
|
listeners: {
|
||||||
'click': '_onClick',
|
'tap': '_onClick',
|
||||||
'iron-resize': '_onIronResize'
|
'iron-resize': '_onIronResize'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -199,7 +199,7 @@ context. You should place this element as a child of `<body>` whenever possible.
|
||||||
* Cancels the overlay.
|
* Cancels the overlay.
|
||||||
*/
|
*/
|
||||||
cancel: function() {
|
cancel: function() {
|
||||||
this.opened = false,
|
this.opened = false;
|
||||||
this._setCanceled(true);
|
this._setCanceled(true);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -280,7 +280,7 @@ context. You should place this element as a child of `<body>` whenever possible.
|
||||||
this._toggleListener(this.opened, document, 'tap', this._boundOnCaptureClick, true);
|
this._toggleListener(this.opened, document, 'tap', this._boundOnCaptureClick, true);
|
||||||
this._toggleListener(this.opened, document, 'keydown', this._boundOnCaptureKeydown, true);
|
this._toggleListener(this.opened, document, 'keydown', this._boundOnCaptureKeydown, true);
|
||||||
this._toggleListenersAsync = null;
|
this._toggleListenersAsync = null;
|
||||||
});
|
}, 1);
|
||||||
},
|
},
|
||||||
|
|
||||||
// tasks which must occur before opening; e.g. making the element visible
|
// tasks which must occur before opening; e.g. making the element visible
|
||||||
|
|
|
@ -86,7 +86,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||||
|
|
||||||
function runAfterOpen(overlay, cb) {
|
function runAfterOpen(overlay, cb) {
|
||||||
overlay.addEventListener('iron-overlay-opened', function() {
|
overlay.addEventListener('iron-overlay-opened', function() {
|
||||||
cb();
|
Polymer.Base.async(cb, 1);
|
||||||
});
|
});
|
||||||
overlay.open();
|
overlay.open();
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "paper-button",
|
"name": "paper-button",
|
||||||
"version": "1.0.6",
|
"version": "1.0.7",
|
||||||
"description": "Material design button",
|
"description": "Material design button",
|
||||||
"authors": [
|
"authors": [
|
||||||
"The Polymer Authors"
|
"The Polymer Authors"
|
||||||
|
@ -37,11 +37,11 @@
|
||||||
"iron-test-helpers": "polymerelements/iron-test-helpers#^1.0.0",
|
"iron-test-helpers": "polymerelements/iron-test-helpers#^1.0.0",
|
||||||
"paper-styles": "polymerelements/paper-styles#^1.0.0"
|
"paper-styles": "polymerelements/paper-styles#^1.0.0"
|
||||||
},
|
},
|
||||||
"_release": "1.0.6",
|
"_release": "1.0.7",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "v1.0.6",
|
"tag": "v1.0.7",
|
||||||
"commit": "b70c4a22cbe3617d4a7717fe27ba68edd0d0c04f"
|
"commit": "6f4599ab8615af533afdd50e710baa702fe6f84c"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/PolymerElements/paper-button.git",
|
"_source": "git://github.com/PolymerElements/paper-button.git",
|
||||||
"_target": "~1.0.1",
|
"_target": "~1.0.1",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "paper-button",
|
"name": "paper-button",
|
||||||
"version": "1.0.6",
|
"version": "1.0.7",
|
||||||
"description": "Material design button",
|
"description": "Material design button",
|
||||||
"authors": [
|
"authors": [
|
||||||
"The Polymer Authors"
|
"The Polymer Authors"
|
||||||
|
|
|
@ -141,9 +141,11 @@ Custom property | Description | Default
|
||||||
|
|
||||||
<paper-ripple></paper-ripple>
|
<paper-ripple></paper-ripple>
|
||||||
|
|
||||||
<paper-material class$="[[_computeContentClass(receivedFocusFromKeyboard)]]" elevation="[[_elevation]]" animated></paper-material>
|
<paper-material elevation="[[_elevation]]" animated></paper-material>
|
||||||
|
|
||||||
|
<div class$="[[_computeContentClass(receivedFocusFromKeyboard)]]">
|
||||||
<content></content>
|
<content></content>
|
||||||
|
</div>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
</dom-module>
|
</dom-module>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "paper-dialog-behavior",
|
"name": "paper-dialog-behavior",
|
||||||
"version": "1.0.4",
|
"version": "1.0.5",
|
||||||
"description": "Implements a behavior used for material design dialogs",
|
"description": "Implements a behavior used for material design dialogs",
|
||||||
"authors": "The Polymer Authors",
|
"authors": "The Polymer Authors",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
@ -34,11 +34,11 @@
|
||||||
"web-component-tester": "*",
|
"web-component-tester": "*",
|
||||||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
||||||
},
|
},
|
||||||
"_release": "1.0.4",
|
"_release": "1.0.5",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "v1.0.4",
|
"tag": "v1.0.5",
|
||||||
"commit": "09662387b0bc55651dd7b9ef8d38b3b8f55ecf3c"
|
"commit": "5066ec108225d07d8d7ec4efc00ccfc929239ef3"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/PolymerElements/paper-dialog-behavior.git",
|
"_source": "git://github.com/PolymerElements/paper-dialog-behavior.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "paper-dialog-behavior",
|
"name": "paper-dialog-behavior",
|
||||||
"version": "1.0.4",
|
"version": "1.0.5",
|
||||||
"description": "Implements a behavior used for material design dialogs",
|
"description": "Implements a behavior used for material design dialogs",
|
||||||
"authors": "The Polymer Authors",
|
"authors": "The Polymer Authors",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|
|
@ -104,7 +104,7 @@ The `aria-labelledby` attribute will be set to the header element, if one exists
|
||||||
},
|
},
|
||||||
|
|
||||||
listeners: {
|
listeners: {
|
||||||
'click': '_onDialogClick',
|
'tap': '_onDialogClick',
|
||||||
'iron-overlay-opened': '_onIronOverlayOpened',
|
'iron-overlay-opened': '_onIronOverlayOpened',
|
||||||
'iron-overlay-closed': '_onIronOverlayClosed'
|
'iron-overlay-closed': '_onIronOverlayClosed'
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "polymer",
|
"name": "polymer",
|
||||||
"version": "1.1.3",
|
"version": "1.1.4",
|
||||||
"main": [
|
"main": [
|
||||||
"polymer.html"
|
"polymer.html"
|
||||||
],
|
],
|
||||||
|
@ -25,11 +25,11 @@
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"homepage": "https://github.com/Polymer/polymer",
|
"homepage": "https://github.com/Polymer/polymer",
|
||||||
"_release": "1.1.3",
|
"_release": "1.1.4",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "v1.1.3",
|
"tag": "v1.1.4",
|
||||||
"commit": "fb2b93bf2f5058027c63a50fda79b130388b6e15"
|
"commit": "eaedcbc28671ee6cf6a4c0350133bdddfbff50b8"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/Polymer/polymer.git",
|
"_source": "git://github.com/Polymer/polymer.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "polymer",
|
"name": "polymer",
|
||||||
"version": "1.1.3",
|
"version": "1.1.4",
|
||||||
"main": [
|
"main": [
|
||||||
"polymer.html"
|
"polymer.html"
|
||||||
],
|
],
|
||||||
|
|
|
@ -576,7 +576,7 @@ debouncer.stop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
Polymer.version = '1.1.3';
|
Polymer.version = '1.1.4';
|
||||||
Polymer.Base._addFeature({
|
Polymer.Base._addFeature({
|
||||||
_registerFeatures: function () {
|
_registerFeatures: function () {
|
||||||
this._prepIs();
|
this._prepIs();
|
||||||
|
|
|
@ -641,7 +641,7 @@ prevent = dy > dx;
|
||||||
prevent = dx > dy;
|
prevent = dx > dy;
|
||||||
}
|
}
|
||||||
if (prevent) {
|
if (prevent) {
|
||||||
//ev.preventDefault();
|
ev.preventDefault();
|
||||||
} else {
|
} else {
|
||||||
Gestures.prevent('track');
|
Gestures.prevent('track');
|
||||||
}
|
}
|
||||||
|
@ -1817,6 +1817,7 @@ var h$ = this._handlers;
|
||||||
for (var i = 0, l = h$.length, h; i < l && (h = h$[i]); i++) {
|
for (var i = 0, l = h$.length, h; i < l && (h = h$[i]); i++) {
|
||||||
h[0].call(this, h[1], h[2]);
|
h[0].call(this, h[1], h[2]);
|
||||||
}
|
}
|
||||||
|
this._handlers = [];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
(function () {
|
(function () {
|
||||||
|
@ -1940,7 +1941,7 @@ this._boundPaths = this._boundPaths || {};
|
||||||
if (from) {
|
if (from) {
|
||||||
this._boundPaths[to] = from;
|
this._boundPaths[to] = from;
|
||||||
} else {
|
} else {
|
||||||
this.unbindPath(to);
|
this.unlinkPaths(to);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
unlinkPaths: function (path) {
|
unlinkPaths: function (path) {
|
||||||
|
@ -1949,23 +1950,13 @@ delete this._boundPaths[path];
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
_notifyBoundPaths: function (path, value) {
|
_notifyBoundPaths: function (path, value) {
|
||||||
var from, to;
|
|
||||||
for (var a in this._boundPaths) {
|
for (var a in this._boundPaths) {
|
||||||
var b = this._boundPaths[a];
|
var b = this._boundPaths[a];
|
||||||
if (path.indexOf(a + '.') == 0) {
|
if (path.indexOf(a + '.') == 0) {
|
||||||
from = a;
|
this.notifyPath(this._fixPath(b, a, path), value);
|
||||||
to = b;
|
} else if (path.indexOf(b + '.') == 0) {
|
||||||
break;
|
this.notifyPath(this._fixPath(a, b, path), value);
|
||||||
}
|
}
|
||||||
if (path.indexOf(b + '.') == 0) {
|
|
||||||
from = b;
|
|
||||||
to = a;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (from && to) {
|
|
||||||
var p = this._fixPath(to, from, path);
|
|
||||||
this.notifyPath(p, value);
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
_fixPath: function (property, root, path) {
|
_fixPath: function (property, root, path) {
|
||||||
|
@ -2193,7 +2184,7 @@ MIXIN_RULE: 1000
|
||||||
OPEN_BRACE: '{',
|
OPEN_BRACE: '{',
|
||||||
CLOSE_BRACE: '}',
|
CLOSE_BRACE: '}',
|
||||||
_rx: {
|
_rx: {
|
||||||
comments: /\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,
|
comments: /\/\*[^*]*\*+([^\/*][^*]*\*+)*\//gim,
|
||||||
port: /@import[^;]*;/gim,
|
port: /@import[^;]*;/gim,
|
||||||
customProp: /(?:^|[\s;])--[^;{]*?:[^{};]*?(?:[;\n]|$)/gim,
|
customProp: /(?:^|[\s;])--[^;{]*?:[^{};]*?(?:[;\n]|$)/gim,
|
||||||
mixinProp: /(?:^|[\s;])--[^;{]*?:[^{;]*?{[^}]*?}(?:[;\n]|$)?/gim,
|
mixinProp: /(?:^|[\s;])--[^;{]*?:[^{;]*?{[^}]*?}(?:[;\n]|$)?/gim,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "webcomponentsjs",
|
"name": "webcomponentsjs",
|
||||||
"main": "webcomponents.js",
|
"main": "webcomponents.js",
|
||||||
"version": "0.7.12",
|
"version": "0.7.13",
|
||||||
"homepage": "http://webcomponents.org",
|
"homepage": "http://webcomponents.org",
|
||||||
"authors": [
|
"authors": [
|
||||||
"The Polymer Authors"
|
"The Polymer Authors"
|
||||||
|
@ -15,11 +15,11 @@
|
||||||
],
|
],
|
||||||
"license": "BSD",
|
"license": "BSD",
|
||||||
"ignore": [],
|
"ignore": [],
|
||||||
"_release": "0.7.12",
|
"_release": "0.7.13",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "v0.7.12",
|
"tag": "v0.7.13",
|
||||||
"commit": "044234d00f966292390d02cbe88184861e673cc7"
|
"commit": "e53b558e1f4e8087265f7ba7f03fb928f21a845b"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/Polymer/webcomponentsjs.git",
|
"_source": "git://github.com/Polymer/webcomponentsjs.git",
|
||||||
"_target": "^0.7.2",
|
"_target": "^0.7.2",
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* Code distributed by Google as part of the polymer project is also
|
* 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
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
||||||
*/
|
*/
|
||||||
// @version 0.7.12
|
// @version 0.7.13
|
||||||
if (typeof WeakMap === "undefined") {
|
if (typeof WeakMap === "undefined") {
|
||||||
(function() {
|
(function() {
|
||||||
var defineProperty = Object.defineProperty;
|
var defineProperty = Object.defineProperty;
|
||||||
|
@ -341,7 +341,7 @@ if (typeof WeakMap === "undefined") {
|
||||||
};
|
};
|
||||||
global.JsMutationObserver = JsMutationObserver;
|
global.JsMutationObserver = JsMutationObserver;
|
||||||
if (!global.MutationObserver) global.MutationObserver = JsMutationObserver;
|
if (!global.MutationObserver) global.MutationObserver = JsMutationObserver;
|
||||||
})(window);
|
})(self);
|
||||||
|
|
||||||
window.CustomElements = window.CustomElements || {
|
window.CustomElements = window.CustomElements || {
|
||||||
flags: {}
|
flags: {}
|
||||||
|
@ -946,7 +946,7 @@ window.CustomElements.addModule(function(scope) {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (isIE && typeof window.CustomEvent !== "function") {
|
if (!window.CustomEvent) {
|
||||||
window.CustomEvent = function(inType, params) {
|
window.CustomEvent = function(inType, params) {
|
||||||
params = params || {};
|
params = params || {};
|
||||||
var e = document.createEvent("CustomEvent");
|
var e = document.createEvent("CustomEvent");
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -7,7 +7,7 @@
|
||||||
* Code distributed by Google as part of the polymer project is also
|
* 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
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
||||||
*/
|
*/
|
||||||
// @version 0.7.12
|
// @version 0.7.13
|
||||||
if (typeof WeakMap === "undefined") {
|
if (typeof WeakMap === "undefined") {
|
||||||
(function() {
|
(function() {
|
||||||
var defineProperty = Object.defineProperty;
|
var defineProperty = Object.defineProperty;
|
||||||
|
@ -341,7 +341,7 @@ if (typeof WeakMap === "undefined") {
|
||||||
};
|
};
|
||||||
global.JsMutationObserver = JsMutationObserver;
|
global.JsMutationObserver = JsMutationObserver;
|
||||||
if (!global.MutationObserver) global.MutationObserver = JsMutationObserver;
|
if (!global.MutationObserver) global.MutationObserver = JsMutationObserver;
|
||||||
})(window);
|
})(self);
|
||||||
|
|
||||||
window.HTMLImports = window.HTMLImports || {
|
window.HTMLImports = window.HTMLImports || {
|
||||||
flags: {}
|
flags: {}
|
||||||
|
@ -1061,7 +1061,7 @@ window.HTMLImports.addModule(function(scope) {
|
||||||
if (scope.useNative) {
|
if (scope.useNative) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (isIE && typeof window.CustomEvent !== "function") {
|
if (!window.CustomEvent) {
|
||||||
window.CustomEvent = function(inType, params) {
|
window.CustomEvent = function(inType, params) {
|
||||||
params = params || {};
|
params = params || {};
|
||||||
var e = document.createEvent("CustomEvent");
|
var e = document.createEvent("CustomEvent");
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -7,7 +7,7 @@
|
||||||
* Code distributed by Google as part of the polymer project is also
|
* 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
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
||||||
*/
|
*/
|
||||||
// @version 0.7.12
|
// @version 0.7.13
|
||||||
if (typeof WeakMap === "undefined") {
|
if (typeof WeakMap === "undefined") {
|
||||||
(function() {
|
(function() {
|
||||||
var defineProperty = Object.defineProperty;
|
var defineProperty = Object.defineProperty;
|
||||||
|
@ -341,4 +341,4 @@ if (typeof WeakMap === "undefined") {
|
||||||
};
|
};
|
||||||
global.JsMutationObserver = JsMutationObserver;
|
global.JsMutationObserver = JsMutationObserver;
|
||||||
if (!global.MutationObserver) global.MutationObserver = JsMutationObserver;
|
if (!global.MutationObserver) global.MutationObserver = JsMutationObserver;
|
||||||
})(window);
|
})(self);
|
File diff suppressed because one or more lines are too long
|
@ -7,7 +7,7 @@
|
||||||
* Code distributed by Google as part of the polymer project is also
|
* 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
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
||||||
*/
|
*/
|
||||||
// @version 0.7.12
|
// @version 0.7.13
|
||||||
if (typeof WeakMap === "undefined") {
|
if (typeof WeakMap === "undefined") {
|
||||||
(function() {
|
(function() {
|
||||||
var defineProperty = Object.defineProperty;
|
var defineProperty = Object.defineProperty;
|
||||||
|
@ -3145,18 +3145,29 @@ window.ShadowDOMPolyfill = {};
|
||||||
"use strict";
|
"use strict";
|
||||||
var Element = scope.wrappers.Element;
|
var Element = scope.wrappers.Element;
|
||||||
var HTMLElement = scope.wrappers.HTMLElement;
|
var HTMLElement = scope.wrappers.HTMLElement;
|
||||||
var registerObject = scope.registerObject;
|
var registerWrapper = scope.registerWrapper;
|
||||||
var defineWrapGetter = scope.defineWrapGetter;
|
var defineWrapGetter = scope.defineWrapGetter;
|
||||||
|
var unsafeUnwrap = scope.unsafeUnwrap;
|
||||||
|
var wrap = scope.wrap;
|
||||||
|
var mixin = scope.mixin;
|
||||||
var SVG_NS = "http://www.w3.org/2000/svg";
|
var SVG_NS = "http://www.w3.org/2000/svg";
|
||||||
|
var OriginalSVGElement = window.SVGElement;
|
||||||
var svgTitleElement = document.createElementNS(SVG_NS, "title");
|
var svgTitleElement = document.createElementNS(SVG_NS, "title");
|
||||||
var SVGTitleElement = registerObject(svgTitleElement);
|
|
||||||
var SVGElement = Object.getPrototypeOf(SVGTitleElement.prototype).constructor;
|
|
||||||
if (!("classList" in svgTitleElement)) {
|
if (!("classList" in svgTitleElement)) {
|
||||||
var descr = Object.getOwnPropertyDescriptor(Element.prototype, "classList");
|
var descr = Object.getOwnPropertyDescriptor(Element.prototype, "classList");
|
||||||
Object.defineProperty(HTMLElement.prototype, "classList", descr);
|
Object.defineProperty(HTMLElement.prototype, "classList", descr);
|
||||||
delete Element.prototype.classList;
|
delete Element.prototype.classList;
|
||||||
}
|
}
|
||||||
defineWrapGetter(SVGElement, "ownerSVGElement");
|
function SVGElement(node) {
|
||||||
|
Element.call(this, node);
|
||||||
|
}
|
||||||
|
SVGElement.prototype = Object.create(Element.prototype);
|
||||||
|
mixin(SVGElement.prototype, {
|
||||||
|
get ownerSVGElement() {
|
||||||
|
return wrap(unsafeUnwrap(this).ownerSVGElement);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
registerWrapper(OriginalSVGElement, SVGElement, document.createElementNS(SVG_NS, "title"));
|
||||||
scope.wrappers.SVGElement = SVGElement;
|
scope.wrappers.SVGElement = SVGElement;
|
||||||
})(window.ShadowDOMPolyfill);
|
})(window.ShadowDOMPolyfill);
|
||||||
|
|
||||||
|
@ -3300,20 +3311,27 @@ window.ShadowDOMPolyfill = {};
|
||||||
|
|
||||||
(function(scope) {
|
(function(scope) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
var Node = scope.wrappers.Node;
|
||||||
var GetElementsByInterface = scope.GetElementsByInterface;
|
var GetElementsByInterface = scope.GetElementsByInterface;
|
||||||
var NonElementParentNodeInterface = scope.NonElementParentNodeInterface;
|
var NonElementParentNodeInterface = scope.NonElementParentNodeInterface;
|
||||||
var ParentNodeInterface = scope.ParentNodeInterface;
|
var ParentNodeInterface = scope.ParentNodeInterface;
|
||||||
var SelectorsInterface = scope.SelectorsInterface;
|
var SelectorsInterface = scope.SelectorsInterface;
|
||||||
var mixin = scope.mixin;
|
var mixin = scope.mixin;
|
||||||
var registerObject = scope.registerObject;
|
var registerObject = scope.registerObject;
|
||||||
var DocumentFragment = registerObject(document.createDocumentFragment());
|
var registerWrapper = scope.registerWrapper;
|
||||||
|
var OriginalDocumentFragment = window.DocumentFragment;
|
||||||
|
function DocumentFragment(node) {
|
||||||
|
Node.call(this, node);
|
||||||
|
}
|
||||||
|
DocumentFragment.prototype = Object.create(Node.prototype);
|
||||||
mixin(DocumentFragment.prototype, ParentNodeInterface);
|
mixin(DocumentFragment.prototype, ParentNodeInterface);
|
||||||
mixin(DocumentFragment.prototype, SelectorsInterface);
|
mixin(DocumentFragment.prototype, SelectorsInterface);
|
||||||
mixin(DocumentFragment.prototype, GetElementsByInterface);
|
mixin(DocumentFragment.prototype, GetElementsByInterface);
|
||||||
mixin(DocumentFragment.prototype, NonElementParentNodeInterface);
|
mixin(DocumentFragment.prototype, NonElementParentNodeInterface);
|
||||||
|
registerWrapper(OriginalDocumentFragment, DocumentFragment, document.createDocumentFragment());
|
||||||
|
scope.wrappers.DocumentFragment = DocumentFragment;
|
||||||
var Comment = registerObject(document.createComment(""));
|
var Comment = registerObject(document.createComment(""));
|
||||||
scope.wrappers.Comment = Comment;
|
scope.wrappers.Comment = Comment;
|
||||||
scope.wrappers.DocumentFragment = DocumentFragment;
|
|
||||||
})(window.ShadowDOMPolyfill);
|
})(window.ShadowDOMPolyfill);
|
||||||
|
|
||||||
(function(scope) {
|
(function(scope) {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "webcomponentsjs",
|
"name": "webcomponentsjs",
|
||||||
"main": "webcomponents.js",
|
"main": "webcomponents.js",
|
||||||
"version": "0.7.12",
|
"version": "0.7.13",
|
||||||
"homepage": "http://webcomponents.org",
|
"homepage": "http://webcomponents.org",
|
||||||
"authors": [
|
"authors": [
|
||||||
"The Polymer Authors"
|
"The Polymer Authors"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "webcomponents.js",
|
"name": "webcomponents.js",
|
||||||
"version": "0.7.12",
|
"version": "0.7.13",
|
||||||
"description": "webcomponents.js",
|
"description": "webcomponents.js",
|
||||||
"main": "webcomponents.js",
|
"main": "webcomponents.js",
|
||||||
"directories": {
|
"directories": {
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* Code distributed by Google as part of the polymer project is also
|
* 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
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
||||||
*/
|
*/
|
||||||
// @version 0.7.12
|
// @version 0.7.13
|
||||||
window.WebComponents = window.WebComponents || {};
|
window.WebComponents = window.WebComponents || {};
|
||||||
|
|
||||||
(function(scope) {
|
(function(scope) {
|
||||||
|
@ -574,7 +574,7 @@ window.WebComponents = window.WebComponents || {};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
scope.URL = jURL;
|
scope.URL = jURL;
|
||||||
})(this);
|
})(self);
|
||||||
|
|
||||||
if (typeof WeakMap === "undefined") {
|
if (typeof WeakMap === "undefined") {
|
||||||
(function() {
|
(function() {
|
||||||
|
@ -909,7 +909,7 @@ if (typeof WeakMap === "undefined") {
|
||||||
};
|
};
|
||||||
global.JsMutationObserver = JsMutationObserver;
|
global.JsMutationObserver = JsMutationObserver;
|
||||||
if (!global.MutationObserver) global.MutationObserver = JsMutationObserver;
|
if (!global.MutationObserver) global.MutationObserver = JsMutationObserver;
|
||||||
})(window);
|
})(self);
|
||||||
|
|
||||||
window.HTMLImports = window.HTMLImports || {
|
window.HTMLImports = window.HTMLImports || {
|
||||||
flags: {}
|
flags: {}
|
||||||
|
@ -1629,7 +1629,7 @@ window.HTMLImports.addModule(function(scope) {
|
||||||
if (scope.useNative) {
|
if (scope.useNative) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (isIE && typeof window.CustomEvent !== "function") {
|
if (!window.CustomEvent) {
|
||||||
window.CustomEvent = function(inType, params) {
|
window.CustomEvent = function(inType, params) {
|
||||||
params = params || {};
|
params = params || {};
|
||||||
var e = document.createEvent("CustomEvent");
|
var e = document.createEvent("CustomEvent");
|
||||||
|
@ -2260,7 +2260,7 @@ window.CustomElements.addModule(function(scope) {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (isIE && typeof window.CustomEvent !== "function") {
|
if (!window.CustomEvent) {
|
||||||
window.CustomEvent = function(inType, params) {
|
window.CustomEvent = function(inType, params) {
|
||||||
params = params || {};
|
params = params || {};
|
||||||
var e = document.createEvent("CustomEvent");
|
var e = document.createEvent("CustomEvent");
|
||||||
|
@ -2368,6 +2368,37 @@ if (typeof HTMLTemplateElement === "undefined") {
|
||||||
})();
|
})();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
(function(scope) {
|
||||||
|
"use strict";
|
||||||
|
if (!window.performance) {
|
||||||
|
var start = Date.now();
|
||||||
|
window.performance = {
|
||||||
|
now: function() {
|
||||||
|
return Date.now() - start;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
if (!window.requestAnimationFrame) {
|
||||||
|
window.requestAnimationFrame = function() {
|
||||||
|
var nativeRaf = window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame;
|
||||||
|
return nativeRaf ? function(callback) {
|
||||||
|
return nativeRaf(function() {
|
||||||
|
callback(performance.now());
|
||||||
|
});
|
||||||
|
} : function(callback) {
|
||||||
|
return window.setTimeout(callback, 1e3 / 60);
|
||||||
|
};
|
||||||
|
}();
|
||||||
|
}
|
||||||
|
if (!window.cancelAnimationFrame) {
|
||||||
|
window.cancelAnimationFrame = function() {
|
||||||
|
return window.webkitCancelAnimationFrame || window.mozCancelAnimationFrame || function(id) {
|
||||||
|
clearTimeout(id);
|
||||||
|
};
|
||||||
|
}();
|
||||||
|
}
|
||||||
|
})(window.WebComponents);
|
||||||
|
|
||||||
(function(scope) {
|
(function(scope) {
|
||||||
var style = document.createElement("style");
|
var style = document.createElement("style");
|
||||||
style.textContent = "" + "body {" + "transition: opacity ease-in 0.2s;" + " } \n" + "body[unresolved] {" + "opacity: 0; display: block; overflow: hidden; position: relative;" + " } \n";
|
style.textContent = "" + "body {" + "transition: opacity ease-in 0.2s;" + " } \n" + "body[unresolved] {" + "opacity: 0; display: block; overflow: hidden; position: relative;" + " } \n";
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -7,7 +7,7 @@
|
||||||
* Code distributed by Google as part of the polymer project is also
|
* 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
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
||||||
*/
|
*/
|
||||||
// @version 0.7.12
|
// @version 0.7.13
|
||||||
window.WebComponents = window.WebComponents || {};
|
window.WebComponents = window.WebComponents || {};
|
||||||
|
|
||||||
(function(scope) {
|
(function(scope) {
|
||||||
|
@ -3159,18 +3159,29 @@ if (WebComponents.flags.shadow) {
|
||||||
"use strict";
|
"use strict";
|
||||||
var Element = scope.wrappers.Element;
|
var Element = scope.wrappers.Element;
|
||||||
var HTMLElement = scope.wrappers.HTMLElement;
|
var HTMLElement = scope.wrappers.HTMLElement;
|
||||||
var registerObject = scope.registerObject;
|
var registerWrapper = scope.registerWrapper;
|
||||||
var defineWrapGetter = scope.defineWrapGetter;
|
var defineWrapGetter = scope.defineWrapGetter;
|
||||||
|
var unsafeUnwrap = scope.unsafeUnwrap;
|
||||||
|
var wrap = scope.wrap;
|
||||||
|
var mixin = scope.mixin;
|
||||||
var SVG_NS = "http://www.w3.org/2000/svg";
|
var SVG_NS = "http://www.w3.org/2000/svg";
|
||||||
|
var OriginalSVGElement = window.SVGElement;
|
||||||
var svgTitleElement = document.createElementNS(SVG_NS, "title");
|
var svgTitleElement = document.createElementNS(SVG_NS, "title");
|
||||||
var SVGTitleElement = registerObject(svgTitleElement);
|
|
||||||
var SVGElement = Object.getPrototypeOf(SVGTitleElement.prototype).constructor;
|
|
||||||
if (!("classList" in svgTitleElement)) {
|
if (!("classList" in svgTitleElement)) {
|
||||||
var descr = Object.getOwnPropertyDescriptor(Element.prototype, "classList");
|
var descr = Object.getOwnPropertyDescriptor(Element.prototype, "classList");
|
||||||
Object.defineProperty(HTMLElement.prototype, "classList", descr);
|
Object.defineProperty(HTMLElement.prototype, "classList", descr);
|
||||||
delete Element.prototype.classList;
|
delete Element.prototype.classList;
|
||||||
}
|
}
|
||||||
defineWrapGetter(SVGElement, "ownerSVGElement");
|
function SVGElement(node) {
|
||||||
|
Element.call(this, node);
|
||||||
|
}
|
||||||
|
SVGElement.prototype = Object.create(Element.prototype);
|
||||||
|
mixin(SVGElement.prototype, {
|
||||||
|
get ownerSVGElement() {
|
||||||
|
return wrap(unsafeUnwrap(this).ownerSVGElement);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
registerWrapper(OriginalSVGElement, SVGElement, document.createElementNS(SVG_NS, "title"));
|
||||||
scope.wrappers.SVGElement = SVGElement;
|
scope.wrappers.SVGElement = SVGElement;
|
||||||
})(window.ShadowDOMPolyfill);
|
})(window.ShadowDOMPolyfill);
|
||||||
(function(scope) {
|
(function(scope) {
|
||||||
|
@ -3309,20 +3320,27 @@ if (WebComponents.flags.shadow) {
|
||||||
})(window.ShadowDOMPolyfill);
|
})(window.ShadowDOMPolyfill);
|
||||||
(function(scope) {
|
(function(scope) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
var Node = scope.wrappers.Node;
|
||||||
var GetElementsByInterface = scope.GetElementsByInterface;
|
var GetElementsByInterface = scope.GetElementsByInterface;
|
||||||
var NonElementParentNodeInterface = scope.NonElementParentNodeInterface;
|
var NonElementParentNodeInterface = scope.NonElementParentNodeInterface;
|
||||||
var ParentNodeInterface = scope.ParentNodeInterface;
|
var ParentNodeInterface = scope.ParentNodeInterface;
|
||||||
var SelectorsInterface = scope.SelectorsInterface;
|
var SelectorsInterface = scope.SelectorsInterface;
|
||||||
var mixin = scope.mixin;
|
var mixin = scope.mixin;
|
||||||
var registerObject = scope.registerObject;
|
var registerObject = scope.registerObject;
|
||||||
var DocumentFragment = registerObject(document.createDocumentFragment());
|
var registerWrapper = scope.registerWrapper;
|
||||||
|
var OriginalDocumentFragment = window.DocumentFragment;
|
||||||
|
function DocumentFragment(node) {
|
||||||
|
Node.call(this, node);
|
||||||
|
}
|
||||||
|
DocumentFragment.prototype = Object.create(Node.prototype);
|
||||||
mixin(DocumentFragment.prototype, ParentNodeInterface);
|
mixin(DocumentFragment.prototype, ParentNodeInterface);
|
||||||
mixin(DocumentFragment.prototype, SelectorsInterface);
|
mixin(DocumentFragment.prototype, SelectorsInterface);
|
||||||
mixin(DocumentFragment.prototype, GetElementsByInterface);
|
mixin(DocumentFragment.prototype, GetElementsByInterface);
|
||||||
mixin(DocumentFragment.prototype, NonElementParentNodeInterface);
|
mixin(DocumentFragment.prototype, NonElementParentNodeInterface);
|
||||||
|
registerWrapper(OriginalDocumentFragment, DocumentFragment, document.createDocumentFragment());
|
||||||
|
scope.wrappers.DocumentFragment = DocumentFragment;
|
||||||
var Comment = registerObject(document.createComment(""));
|
var Comment = registerObject(document.createComment(""));
|
||||||
scope.wrappers.Comment = Comment;
|
scope.wrappers.Comment = Comment;
|
||||||
scope.wrappers.DocumentFragment = DocumentFragment;
|
|
||||||
})(window.ShadowDOMPolyfill);
|
})(window.ShadowDOMPolyfill);
|
||||||
(function(scope) {
|
(function(scope) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -4694,7 +4712,7 @@ if (WebComponents.flags.shadow) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
var selectorRe = /([^{]*)({[\s\S]*?})/gim, cssCommentRe = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim, cssCommentNextSelectorRe = /\/\*\s*@polyfill ([^*]*\*+([^/*][^*]*\*+)*\/)([^{]*?){/gim, cssContentNextSelectorRe = /polyfill-next-selector[^}]*content\:[\s]*?['"](.*?)['"][;\s]*}([^{]*?){/gim, cssCommentRuleRe = /\/\*\s@polyfill-rule([^*]*\*+([^/*][^*]*\*+)*)\//gim, cssContentRuleRe = /(polyfill-rule)[^}]*(content\:[\s]*['"](.*?)['"])[;\s]*[^}]*}/gim, cssCommentUnscopedRuleRe = /\/\*\s@polyfill-unscoped-rule([^*]*\*+([^/*][^*]*\*+)*)\//gim, cssContentUnscopedRuleRe = /(polyfill-unscoped-rule)[^}]*(content\:[\s]*['"](.*?)['"])[;\s]*[^}]*}/gim, cssPseudoRe = /::(x-[^\s{,(]*)/gim, cssPartRe = /::part\(([^)]*)\)/gim, polyfillHost = "-shadowcsshost", polyfillHostContext = "-shadowcsscontext", parenSuffix = ")(?:\\((" + "(?:\\([^)(]*\\)|[^)(]*)+?" + ")\\))?([^,{]*)";
|
var selectorRe = /([^{]*)({[\s\S]*?})/gim, cssCommentRe = /\/\*[^*]*\*+([^\/*][^*]*\*+)*\//gim, cssCommentNextSelectorRe = /\/\*\s*@polyfill ([^*]*\*+([^\/*][^*]*\*+)*\/)([^{]*?){/gim, cssContentNextSelectorRe = /polyfill-next-selector[^}]*content\:[\s]*?['"](.*?)['"][;\s]*}([^{]*?){/gim, cssCommentRuleRe = /\/\*\s@polyfill-rule([^*]*\*+([^\/*][^*]*\*+)*)\//gim, cssContentRuleRe = /(polyfill-rule)[^}]*(content\:[\s]*['"](.*?)['"])[;\s]*[^}]*}/gim, cssCommentUnscopedRuleRe = /\/\*\s@polyfill-unscoped-rule([^*]*\*+([^\/*][^*]*\*+)*)\//gim, cssContentUnscopedRuleRe = /(polyfill-unscoped-rule)[^}]*(content\:[\s]*['"](.*?)['"])[;\s]*[^}]*}/gim, cssPseudoRe = /::(x-[^\s{,(]*)/gim, cssPartRe = /::part\(([^)]*)\)/gim, polyfillHost = "-shadowcsshost", polyfillHostContext = "-shadowcsscontext", parenSuffix = ")(?:\\((" + "(?:\\([^)(]*\\)|[^)(]*)+?" + ")\\))?([^,{]*)";
|
||||||
var cssColonHostRe = new RegExp("(" + polyfillHost + parenSuffix, "gim"), cssColonHostContextRe = new RegExp("(" + polyfillHostContext + parenSuffix, "gim"), selectorReSuffix = "([>\\s~+[.,{:][\\s\\S]*)?$", colonHostRe = /\:host/gim, colonHostContextRe = /\:host-context/gim, polyfillHostNoCombinator = polyfillHost + "-no-combinator", polyfillHostRe = new RegExp(polyfillHost, "gim"), polyfillHostContextRe = new RegExp(polyfillHostContext, "gim"), shadowDOMSelectorsRe = [ />>>/g, /::shadow/g, /::content/g, /\/deep\//g, /\/shadow\//g, /\/shadow-deep\//g, /\^\^/g, /\^/g ];
|
var cssColonHostRe = new RegExp("(" + polyfillHost + parenSuffix, "gim"), cssColonHostContextRe = new RegExp("(" + polyfillHostContext + parenSuffix, "gim"), selectorReSuffix = "([>\\s~+[.,{:][\\s\\S]*)?$", colonHostRe = /\:host/gim, colonHostContextRe = /\:host-context/gim, polyfillHostNoCombinator = polyfillHost + "-no-combinator", polyfillHostRe = new RegExp(polyfillHost, "gim"), polyfillHostContextRe = new RegExp(polyfillHostContext, "gim"), shadowDOMSelectorsRe = [ />>>/g, /::shadow/g, /::content/g, /\/deep\//g, /\/shadow\//g, /\/shadow-deep\//g, /\^\^/g, /\^/g ];
|
||||||
function stylesToCssText(styles, preserveComments) {
|
function stylesToCssText(styles, preserveComments) {
|
||||||
var cssText = "";
|
var cssText = "";
|
||||||
|
@ -5379,7 +5397,7 @@ if (WebComponents.flags.shadow) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
scope.URL = jURL;
|
scope.URL = jURL;
|
||||||
})(this);
|
})(self);
|
||||||
|
|
||||||
(function(global) {
|
(function(global) {
|
||||||
var registrationsTable = new WeakMap();
|
var registrationsTable = new WeakMap();
|
||||||
|
@ -5678,7 +5696,7 @@ if (WebComponents.flags.shadow) {
|
||||||
};
|
};
|
||||||
global.JsMutationObserver = JsMutationObserver;
|
global.JsMutationObserver = JsMutationObserver;
|
||||||
if (!global.MutationObserver) global.MutationObserver = JsMutationObserver;
|
if (!global.MutationObserver) global.MutationObserver = JsMutationObserver;
|
||||||
})(window);
|
})(self);
|
||||||
|
|
||||||
window.HTMLImports = window.HTMLImports || {
|
window.HTMLImports = window.HTMLImports || {
|
||||||
flags: {}
|
flags: {}
|
||||||
|
@ -6398,7 +6416,7 @@ window.HTMLImports.addModule(function(scope) {
|
||||||
if (scope.useNative) {
|
if (scope.useNative) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (isIE && typeof window.CustomEvent !== "function") {
|
if (!window.CustomEvent) {
|
||||||
window.CustomEvent = function(inType, params) {
|
window.CustomEvent = function(inType, params) {
|
||||||
params = params || {};
|
params = params || {};
|
||||||
var e = document.createEvent("CustomEvent");
|
var e = document.createEvent("CustomEvent");
|
||||||
|
@ -7029,7 +7047,7 @@ window.CustomElements.addModule(function(scope) {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (isIE && typeof window.CustomEvent !== "function") {
|
if (!window.CustomEvent) {
|
||||||
window.CustomEvent = function(inType, params) {
|
window.CustomEvent = function(inType, params) {
|
||||||
params = params || {};
|
params = params || {};
|
||||||
var e = document.createEvent("CustomEvent");
|
var e = document.createEvent("CustomEvent");
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -592,7 +592,7 @@ debouncer.stop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
Polymer.version = '1.1.3';
|
Polymer.version = '1.1.4';
|
||||||
Polymer.Base._addFeature({
|
Polymer.Base._addFeature({
|
||||||
_registerFeatures: function () {
|
_registerFeatures: function () {
|
||||||
this._prepIs();
|
this._prepIs();
|
||||||
|
@ -2755,7 +2755,7 @@ prevent = dy > dx;
|
||||||
prevent = dx > dy;
|
prevent = dx > dy;
|
||||||
}
|
}
|
||||||
if (prevent) {
|
if (prevent) {
|
||||||
//ev.preventDefault();
|
ev.preventDefault();
|
||||||
} else {
|
} else {
|
||||||
Gestures.prevent('track');
|
Gestures.prevent('track');
|
||||||
}
|
}
|
||||||
|
@ -3931,6 +3931,7 @@ var h$ = this._handlers;
|
||||||
for (var i = 0, l = h$.length, h; i < l && (h = h$[i]); i++) {
|
for (var i = 0, l = h$.length, h; i < l && (h = h$[i]); i++) {
|
||||||
h[0].call(this, h[1], h[2]);
|
h[0].call(this, h[1], h[2]);
|
||||||
}
|
}
|
||||||
|
this._handlers = [];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
(function () {
|
(function () {
|
||||||
|
@ -4054,7 +4055,7 @@ this._boundPaths = this._boundPaths || {};
|
||||||
if (from) {
|
if (from) {
|
||||||
this._boundPaths[to] = from;
|
this._boundPaths[to] = from;
|
||||||
} else {
|
} else {
|
||||||
this.unbindPath(to);
|
this.unlinkPaths(to);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
unlinkPaths: function (path) {
|
unlinkPaths: function (path) {
|
||||||
|
@ -4063,23 +4064,13 @@ delete this._boundPaths[path];
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
_notifyBoundPaths: function (path, value) {
|
_notifyBoundPaths: function (path, value) {
|
||||||
var from, to;
|
|
||||||
for (var a in this._boundPaths) {
|
for (var a in this._boundPaths) {
|
||||||
var b = this._boundPaths[a];
|
var b = this._boundPaths[a];
|
||||||
if (path.indexOf(a + '.') == 0) {
|
if (path.indexOf(a + '.') == 0) {
|
||||||
from = a;
|
this.notifyPath(this._fixPath(b, a, path), value);
|
||||||
to = b;
|
} else if (path.indexOf(b + '.') == 0) {
|
||||||
break;
|
this.notifyPath(this._fixPath(a, b, path), value);
|
||||||
}
|
}
|
||||||
if (path.indexOf(b + '.') == 0) {
|
|
||||||
from = b;
|
|
||||||
to = a;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (from && to) {
|
|
||||||
var p = this._fixPath(to, from, path);
|
|
||||||
this.notifyPath(p, value);
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
_fixPath: function (property, root, path) {
|
_fixPath: function (property, root, path) {
|
||||||
|
@ -4307,7 +4298,7 @@ MIXIN_RULE: 1000
|
||||||
OPEN_BRACE: '{',
|
OPEN_BRACE: '{',
|
||||||
CLOSE_BRACE: '}',
|
CLOSE_BRACE: '}',
|
||||||
_rx: {
|
_rx: {
|
||||||
comments: /\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,
|
comments: /\/\*[^*]*\*+([^\/*][^*]*\*+)*\//gim,
|
||||||
port: /@import[^;]*;/gim,
|
port: /@import[^;]*;/gim,
|
||||||
customProp: /(?:^|[\s;])--[^;{]*?:[^{};]*?(?:[;\n]|$)/gim,
|
customProp: /(?:^|[\s;])--[^;{]*?:[^{};]*?(?:[;\n]|$)/gim,
|
||||||
mixinProp: /(?:^|[\s;])--[^;{]*?:[^{;]*?{[^}]*?}(?:[;\n]|$)?/gim,
|
mixinProp: /(?:^|[\s;])--[^;{]*?:[^{;]*?{[^}]*?}(?:[;\n]|$)?/gim,
|
||||||
|
@ -9953,7 +9944,7 @@ context. You should place this element as a child of `<body>` whenever possible.
|
||||||
},
|
},
|
||||||
|
|
||||||
listeners: {
|
listeners: {
|
||||||
'click': '_onClick',
|
'tap': '_onClick',
|
||||||
'iron-resize': '_onIronResize'
|
'iron-resize': '_onIronResize'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -10013,7 +10004,7 @@ context. You should place this element as a child of `<body>` whenever possible.
|
||||||
* Cancels the overlay.
|
* Cancels the overlay.
|
||||||
*/
|
*/
|
||||||
cancel: function() {
|
cancel: function() {
|
||||||
this.opened = false,
|
this.opened = false;
|
||||||
this._setCanceled(true);
|
this._setCanceled(true);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -10094,7 +10085,7 @@ context. You should place this element as a child of `<body>` whenever possible.
|
||||||
this._toggleListener(this.opened, document, 'tap', this._boundOnCaptureClick, true);
|
this._toggleListener(this.opened, document, 'tap', this._boundOnCaptureClick, true);
|
||||||
this._toggleListener(this.opened, document, 'keydown', this._boundOnCaptureKeydown, true);
|
this._toggleListener(this.opened, document, 'keydown', this._boundOnCaptureKeydown, true);
|
||||||
this._toggleListenersAsync = null;
|
this._toggleListenersAsync = null;
|
||||||
});
|
}, 1);
|
||||||
},
|
},
|
||||||
|
|
||||||
// tasks which must occur before opening; e.g. making the element visible
|
// tasks which must occur before opening; e.g. making the element visible
|
||||||
|
@ -10345,7 +10336,7 @@ The `aria-labelledby` attribute will be set to the header element, if one exists
|
||||||
},
|
},
|
||||||
|
|
||||||
listeners: {
|
listeners: {
|
||||||
'click': '_onDialogClick',
|
'tap': '_onDialogClick',
|
||||||
'iron-overlay-opened': '_onIronOverlayOpened',
|
'iron-overlay-opened': '_onIronOverlayOpened',
|
||||||
'iron-overlay-closed': '_onIronOverlayClosed'
|
'iron-overlay-closed': '_onIronOverlayClosed'
|
||||||
},
|
},
|
||||||
|
@ -13921,9 +13912,11 @@ is separate from validation, and `allowed-pattern` does not affect how the input
|
||||||
|
|
||||||
<paper-ripple></paper-ripple>
|
<paper-ripple></paper-ripple>
|
||||||
|
|
||||||
<paper-material class$="[[_computeContentClass(receivedFocusFromKeyboard)]]" elevation="[[_elevation]]" animated=""></paper-material>
|
<paper-material elevation="[[_elevation]]" animated=""></paper-material>
|
||||||
|
|
||||||
|
<div class$="[[_computeContentClass(receivedFocusFromKeyboard)]]">
|
||||||
<content></content>
|
<content></content>
|
||||||
|
</div>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
</dom-module>
|
</dom-module>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue