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

Unified Diff: polymer_0.5.0/bower_components/core-style/core-style.html

Issue 786953007: npm_modules: Fork bower_components into Polymer 0.4.0 and 0.5.0 versions (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 12 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: polymer_0.5.0/bower_components/core-style/core-style.html
diff --git a/bower_components/core-style/core-style.html b/polymer_0.5.0/bower_components/core-style/core-style.html
similarity index 93%
rename from bower_components/core-style/core-style.html
rename to polymer_0.5.0/bower_components/core-style/core-style.html
index d0aaf5295faebe39fd2ea2747783086194ed4991..1eb65bc0965266dbdbff999cf000c052ce07ddbd 100644
--- a/bower_components/core-style/core-style.html
+++ b/polymer_0.5.0/bower_components/core-style/core-style.html
@@ -46,8 +46,8 @@ shadowRoot of the `x-test` element. If the content of the `x-test` producer
`core-style` changes, all consumers of it are automatically kept in sync. This
allows updating styling on the fly.
-The `core-style` element also supports bindings and it is the producer
-`core-style` element is the model for its content. Here's an example:
+The `core-style` element also supports bindings, in which case the producer
+`core-style` element is the model. Here's an example:
<core-style id="x-test">
:host {
@@ -265,7 +265,7 @@ Polymer('core-style', {
this.styleElement._cssText = cssText;
if (window.ShadowDOMPolyfill) {
this.styleElement.textContent = cssText;
- cssText = Platform.ShadowCSS.shimStyle(this.styleElement,
+ cssText = WebComponents.ShadowCSS.shimStyle(this.styleElement,
this.getScopeSelector());
}
this.styleElement.textContent = cssText;
@@ -333,7 +333,7 @@ Polymer('core-style', {
if (host) {
var typeExtension = host.hasAttribute('is');
var name = typeExtension ? host.getAttribute('is') : host.localName;
- selector = Platform.ShadowCSS.makeScopeSelector(name,
+ selector = WebComponents.ShadowCSS.makeScopeSelector(name,
typeExtension);
}
this._scopeSelector = selector;
« no previous file with comments | « polymer_0.5.0/bower_components/core-style/bower.json ('k') | polymer_0.5.0/bower_components/core-style/demo.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698