We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0744364 commit ec3e948Copy full SHA for ec3e948
lib/utils/style-gather.html
@@ -22,6 +22,9 @@
22
return Polymer.DomModule.import(moduleId);
23
}
24
25
+ /** @typedef {{assetpath: string}} */
26
+ let templateWithAssetPath; // eslint-disable-line no-unused-vars
27
+
28
/**
29
* Module with utilities for collection CSS text from `<templates>`, external
30
* stylesheets, and `dom-module`s.
@@ -70,7 +73,7 @@
70
73
// include css from the first template in the module
71
74
let t = m.querySelector('template');
72
75
if (t) {
- cssText += this.cssFromTemplate(t, m.assetpath);
76
+ cssText += this.cssFromTemplate(t, /** @type {templateWithAssetPath }*/(m).assetpath);
77
78
// module imports: <link rel="import" type="css">
79
cssText += this.cssFromModuleImports(moduleId);
0 commit comments