Hi everyone. I faced the same kind of trouble and applied similar Hoa's
WORKAROUND but in <Platform.js> this time:
* scopeRules: function(a, b, c) { */* line 3403 :: file
<Platform.js> here enclosed */
* var d = "";*
*if (a == null) {* /* patch suggested by Hugo, according to Hoa's
workaround */
* return d*
* }*
* return Array.prototype.forEach.call(a, function(a) {*
Execution now runs successful as "proved" by
*http://hugo.machefer.free.fr/map4/web-components/map.html. *
JS instantiations *twice *were removed (not responsible for this issue, but
*cleaned*, for the sake of sanity of course)
-- hmachefe
Le vendredi 17 janvier 2014 23:02:08 UTC+1, [email protected] a écrit :
>
> I have downloaded
> *https://github.com/scopyleft/web-components/blob/master/map.html
> <https://github.com/scopyleft/web-components/blob/master/map.html>* and
> placed it there *http://hoteliris.fr/map3/web-components/map.html
> <http://hoteliris.fr/map3/web-components/map.html>* just for fun,
> exploration purpose.However, for some, it fails by Chromium running on my
> Windows 7 platform :
>
> TypeError
> "TypeError: Array.prototype.forEach called on null or undefined
> at forEach (native)
> at Object.i.scopeRules (
> http://hoteliris.fr/map3/web-components/polymer/Platform.js:31:11510)
> at Object.<anonymous> (
> http://hoteliris.fr/map3/web-components/polymer/Platform.js:31:11736)
> at CSSRuleList.forEach (native)
> at Object.i.scopeRules (
> http://hoteliris.fr/map3/web-components/polymer/Platform.js:31:11510)
> at Object.i.convertScopedStyles (
> http://hoteliris.fr/map3/web-components/polymer/Platform.js:31:10967)
> at Object.i.shimScoping (
> http://hoteliris.fr/map3/web-components/polymer/Platform.js:31:10700)
> at Object.i.stylesToShimmedCssText (
> http://hoteliris.fr/map3/web-components/polymer/Platform.js:31:8281)
> at Object.i.shimStyling (
> http://hoteliris.fr/map3/web-components/polymer/Platform.js:31:7928)
> at f.desugar (
> http://hoteliris.fr/map3/web-components/polymer/polymer.js:29:18243)"
> at forEach (native)
> at Object.i.scopeRules (
> http://hoteliris.fr/map3/web-components/polymer/Platform.js:31:11510)
> at Object.<anonymous> (
> http://hoteliris.fr/map3/web-components/polymer/Platform.js:31:11736)
> at CSSRuleList.forEach (native)
> at Object.i.scopeRules (
> http://hoteliris.fr/map3/web-components/polymer/Platform.js:31:11510)
> at Object.i.convertScopedStyles (
> http://hoteliris.fr/map3/web-components/polymer/Platform.js:31:10967)
> at Object.i.shimScoping (
> http://hoteliris.fr/map3/web-components/polymer/Platform.js:31:10700)
> at Object.i.stylesToShimmedCssText (
> http://hoteliris.fr/map3/web-components/polymer/Platform.js:31:8281)
> at Object.i.shimStyling (
> http://hoteliris.fr/map3/web-components/polymer/Platform.js:31:7928)
> at f.desugar (
> http://hoteliris.fr/map3/web-components/polymer/polymer.js:29:18243)"
>
> NOTE : I use Chromium 33.0.1724.0 (Developer Build 237962). I haven't
> enabled anything special by chrome://flags
> Thanks in advance for your help.
>
> /* Urbain */
>
Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/3e460d6f-846a-4040-be86-2347d4fdf54b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.