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
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "polymer",
|
||||
"version": "1.1.3",
|
||||
"version": "1.1.4",
|
||||
"main": [
|
||||
"polymer.html"
|
||||
],
|
||||
|
@ -25,11 +25,11 @@
|
|||
},
|
||||
"private": true,
|
||||
"homepage": "https://github.com/Polymer/polymer",
|
||||
"_release": "1.1.3",
|
||||
"_release": "1.1.4",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.1.3",
|
||||
"commit": "fb2b93bf2f5058027c63a50fda79b130388b6e15"
|
||||
"tag": "v1.1.4",
|
||||
"commit": "eaedcbc28671ee6cf6a4c0350133bdddfbff50b8"
|
||||
},
|
||||
"_source": "git://github.com/Polymer/polymer.git",
|
||||
"_target": "^1.0.0",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "polymer",
|
||||
"version": "1.1.3",
|
||||
"version": "1.1.4",
|
||||
"main": [
|
||||
"polymer.html"
|
||||
],
|
||||
|
|
|
@ -576,7 +576,7 @@ debouncer.stop();
|
|||
}
|
||||
}
|
||||
});
|
||||
Polymer.version = '1.1.3';
|
||||
Polymer.version = '1.1.4';
|
||||
Polymer.Base._addFeature({
|
||||
_registerFeatures: function () {
|
||||
this._prepIs();
|
||||
|
|
|
@ -641,7 +641,7 @@ prevent = dy > dx;
|
|||
prevent = dx > dy;
|
||||
}
|
||||
if (prevent) {
|
||||
//ev.preventDefault();
|
||||
ev.preventDefault();
|
||||
} else {
|
||||
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++) {
|
||||
h[0].call(this, h[1], h[2]);
|
||||
}
|
||||
this._handlers = [];
|
||||
}
|
||||
});
|
||||
(function () {
|
||||
|
@ -1940,7 +1941,7 @@ this._boundPaths = this._boundPaths || {};
|
|||
if (from) {
|
||||
this._boundPaths[to] = from;
|
||||
} else {
|
||||
this.unbindPath(to);
|
||||
this.unlinkPaths(to);
|
||||
}
|
||||
},
|
||||
unlinkPaths: function (path) {
|
||||
|
@ -1949,23 +1950,13 @@ delete this._boundPaths[path];
|
|||
}
|
||||
},
|
||||
_notifyBoundPaths: function (path, value) {
|
||||
var from, to;
|
||||
for (var a in this._boundPaths) {
|
||||
var b = this._boundPaths[a];
|
||||
if (path.indexOf(a + '.') == 0) {
|
||||
from = a;
|
||||
to = b;
|
||||
break;
|
||||
this.notifyPath(this._fixPath(b, a, path), value);
|
||||
} else if (path.indexOf(b + '.') == 0) {
|
||||
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) {
|
||||
|
@ -2193,7 +2184,7 @@ MIXIN_RULE: 1000
|
|||
OPEN_BRACE: '{',
|
||||
CLOSE_BRACE: '}',
|
||||
_rx: {
|
||||
comments: /\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,
|
||||
comments: /\/\*[^*]*\*+([^\/*][^*]*\*+)*\//gim,
|
||||
port: /@import[^;]*;/gim,
|
||||
customProp: /(?:^|[\s;])--[^;{]*?:[^{};]*?(?:[;\n]|$)/gim,
|
||||
mixinProp: /(?:^|[\s;])--[^;{]*?:[^{;]*?{[^}]*?}(?:[;\n]|$)?/gim,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue