Hi,
I do not really know if I have to put this here, and maybe you already know
this but if we put an attribute in "attributes" inside the
<polymer-element>, and if we do not use it after in the template, there is
an error in Internet Explorer, Safari and Firefox. And thus, the
application is not loaded.
(At least for id, and title)
Example :
<link rel="import" href="../../bower_components/polymer/polymer.html">
> <polymer-element name="test-element" attributes="id title">
> <template>
> <link rel="stylesheet" href="test-element.css">
> foo
> </template>
> <script>
> (function () {
> 'use strict';
> Polymer({
> // define element prototype here
> });
> })();
> </script>
> </polymer-element>
*ID :* [Error] TypeError: undefined is not an object (evaluating
'n(this).id') (fonction anonyme) (platform.js, line 13)
*Title : *TypeError: undefined is not an object (evaluating
'this.__impl4cf1e782hg__.title')
Kind regards,
Thibaut
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/118a82e4-7a49-4ac0-a411-b15a57d34ba2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.