polymer-rails 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/javascripts/polymer/bower.json +1 -1
- data/app/assets/javascripts/polymer/build.log +7 -7
- data/app/assets/javascripts/polymer/polymer-micro.html +1 -1
- data/app/assets/javascripts/polymer/polymer-mini.html +11 -0
- data/app/assets/javascripts/polymer/polymer.html +11 -8
- data/lib/polymer-rails/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bdfb4c4cc1986eb32eb6136a59cba706e108335e
|
4
|
+
data.tar.gz: da0b392603cae63902d559883ceb952cfa2ac958
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4cf2837e0d1099643f952859d3f47ee94f3e2ffe77b627efab834ff5257b32692c75c77ac40d25f58deb7a141d477c674b61c4e718b591b4e66c2a588c3ed3e
|
7
|
+
data.tar.gz: 0bb006500dd27fcd17b232e9caa6b8c24ced516e4279d469710b813dd2a46fa5393f6a20960591c686001b33c217232260ef40be41bcf7854e937f671cf27629
|
@@ -1,6 +1,6 @@
|
|
1
1
|
BUILD LOG
|
2
2
|
---------
|
3
|
-
Build Time: 2015-10-
|
3
|
+
Build Time: 2015-10-29T15:32:35-0700
|
4
4
|
|
5
5
|
NODEJS INFORMATION
|
6
6
|
==================
|
@@ -9,19 +9,19 @@ gulp: 3.9.0
|
|
9
9
|
gulp-audit: 1.0.0
|
10
10
|
gulp-rename: 1.2.2
|
11
11
|
gulp-vulcanize: 6.0.1
|
12
|
-
polyclean: 1.2.0
|
13
12
|
lazypipe: 0.2.4
|
14
|
-
|
13
|
+
polyclean: 1.2.0
|
15
14
|
web-component-tester: 3.3.29
|
15
|
+
run-sequence: 1.1.4
|
16
16
|
del: 1.2.1
|
17
17
|
gulp-replace: 0.5.4
|
18
18
|
|
19
19
|
REPO REVISIONS
|
20
20
|
==============
|
21
|
-
polymer:
|
21
|
+
polymer: 5a755342ef6c1bd404d3b4861c3b82d10d57b2ec
|
22
22
|
|
23
23
|
BUILD HASHES
|
24
24
|
============
|
25
|
-
polymer-mini.html:
|
26
|
-
polymer-micro.html:
|
27
|
-
polymer.html:
|
25
|
+
polymer-mini.html: 88f650dd1b5691577f998049967a6dc9dc456e48
|
26
|
+
polymer-micro.html: 2261be50c3d6dfe7bd1ae9051a1115f409ef64c3
|
27
|
+
polymer.html: 0da5e9c32e9ce759647ba6bc64618bb772890acd
|
@@ -395,6 +395,17 @@ DomApi.prototype = {
|
|
395
395
|
flush: function () {
|
396
396
|
Polymer.dom.flush();
|
397
397
|
},
|
398
|
+
deepContains: function (node) {
|
399
|
+
if (this.node.contains(node)) {
|
400
|
+
return true;
|
401
|
+
}
|
402
|
+
var n = node;
|
403
|
+
var wrappedDocument = wrap(document);
|
404
|
+
while (n && n !== wrappedDocument && n !== this.node) {
|
405
|
+
n = Polymer.dom(n).parentNode || n.host;
|
406
|
+
}
|
407
|
+
return n === this.node;
|
408
|
+
},
|
398
409
|
_lazyDistribute: function (host) {
|
399
410
|
if (host.shadyRoot && host.shadyRoot._distributionClean) {
|
400
411
|
host.shadyRoot._distributionClean = false;
|
@@ -1359,7 +1359,7 @@ elt[n] = props[n];
|
|
1359
1359
|
return elt;
|
1360
1360
|
},
|
1361
1361
|
isLightDescendant: function (node) {
|
1362
|
-
return this.contains(node) && Polymer.dom(this).getOwnerRoot() === Polymer.dom(node).getOwnerRoot();
|
1362
|
+
return this !== node && this.contains(node) && Polymer.dom(this).getOwnerRoot() === Polymer.dom(node).getOwnerRoot();
|
1363
1363
|
},
|
1364
1364
|
isLocalDescendant: function (node) {
|
1365
1365
|
return this.root === Polymer.dom(node).getOwnerRoot();
|
@@ -1957,7 +1957,7 @@ this._handlers = [];
|
|
1957
1957
|
Polymer.Base._addFeature({
|
1958
1958
|
notifyPath: function (path, value, fromAbove) {
|
1959
1959
|
var info = {};
|
1960
|
-
|
1960
|
+
this._get(path, this, info);
|
1961
1961
|
this._notifyPath(info.path, value, fromAbove);
|
1962
1962
|
},
|
1963
1963
|
_notifyPath: function (path, value, fromAbove) {
|
@@ -2074,9 +2074,9 @@ if (effect.value === path || effect.value.indexOf(path + '.') === 0) {
|
|
2074
2074
|
Polymer.Bind._annotationEffect.call(this, path, value, effect);
|
2075
2075
|
} else if (path.indexOf(effect.value + '.') === 0 && !effect.negate) {
|
2076
2076
|
var node = this._nodes[effect.index];
|
2077
|
-
if (node && node.
|
2077
|
+
if (node && node._notifyPath) {
|
2078
2078
|
var p = this._fixPath(effect.name, effect.value, path);
|
2079
|
-
node.
|
2079
|
+
node._notifyPath(p, value, true);
|
2080
2080
|
}
|
2081
2081
|
}
|
2082
2082
|
},
|
@@ -2116,9 +2116,9 @@ _notifyBoundPaths: function (path, value) {
|
|
2116
2116
|
for (var a in this._boundPaths) {
|
2117
2117
|
var b = this._boundPaths[a];
|
2118
2118
|
if (path.indexOf(a + '.') == 0) {
|
2119
|
-
this.
|
2119
|
+
this._notifyPath(this._fixPath(b, a, path), value);
|
2120
2120
|
} else if (path.indexOf(b + '.') == 0) {
|
2121
|
-
this.
|
2121
|
+
this._notifyPath(this._fixPath(a, b, path), value);
|
2122
2122
|
}
|
2123
2123
|
}
|
2124
2124
|
},
|
@@ -2386,7 +2386,7 @@ _rx: {
|
|
2386
2386
|
comments: /\/\*[^*]*\*+([^\/*][^*]*\*+)*\//gim,
|
2387
2387
|
port: /@import[^;]*;/gim,
|
2388
2388
|
customProp: /(?:^|[\s;])--[^;{]*?:[^{};]*?(?:[;\n]|$)/gim,
|
2389
|
-
mixinProp: /(?:^|[\s;])
|
2389
|
+
mixinProp: /(?:^|[\s;])?--[^;{]*?:[^{;]*?{[^}]*?}(?:[;\n]|$)?/gim,
|
2390
2390
|
mixinApply: /@apply[\s]*\([^)]*?\)[\s]*(?:[;\n]|$)?/gim,
|
2391
2391
|
varApply: /[^;:]*?:[^;]*var[^;]*(?:[;\n]|$)?/gim,
|
2392
2392
|
keyframesRule: /^@[^\s]*keyframes/
|
@@ -3089,7 +3089,7 @@ props[i] = v;
|
|
3089
3089
|
}
|
3090
3090
|
},
|
3091
3091
|
rx: {
|
3092
|
-
VAR_ASSIGN: /(?:^|[;\
|
3092
|
+
VAR_ASSIGN: /(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:([^;{]*)|{([^}]*)})(?:(?=[;\s}])|$)/gi,
|
3093
3093
|
MIXIN_MATCH: /(?:^|\W+)@apply[\s]*\(([^)]*)\)/i,
|
3094
3094
|
VAR_MATCH: /(^|\W+)var\([\s]*([^,)]*)[\s]*,?[\s]*((?:[^,)]*)|(?:[^;]*\([^;)]*\)))[\s]*?\)/gi,
|
3095
3095
|
VAR_CAPTURE: /\([\s]*(--[^,\s)]*)(?:,[\s]*(--[^,\s)]*))?(?:\)|,)/gi,
|
@@ -3624,9 +3624,12 @@ _pathEffectorImpl: function (path, value, fromAbove) {
|
|
3624
3624
|
if (this._forwardParentPath) {
|
3625
3625
|
if (path.indexOf(this._parentPropPrefix) === 0) {
|
3626
3626
|
var subPath = path.substring(this._parentPropPrefix.length);
|
3627
|
+
var model = this._modelForPath(subPath);
|
3628
|
+
if (model in this._parentProps) {
|
3627
3629
|
this._forwardParentPath(subPath, value);
|
3628
3630
|
}
|
3629
3631
|
}
|
3632
|
+
}
|
3630
3633
|
Polymer.Base._pathEffector.call(this._templatized, path, value, fromAbove);
|
3631
3634
|
},
|
3632
3635
|
_constructorImpl: function (model, host) {
|