I had a question about the use of Path.get to traverse an object in the section on observers. Isn't Path currently intended for defining paths in SVG and Canvas (at least in Chrome Canary?)
Also, I noticed that a few of the code samples had unevaled template code (note the site.project_title instead of Polymer):
<polymer-element name="polymer-cool">
<script>
{{site.project_title}}('polymer-cool', {
praise: 'cool',
makeCoolest: function() {
this.praise = 'coolest';
}
});
</script>
</polymer-element>
<polymer-element name="polymer-cooler" extends="polymer-cool" on-click="{{makeCoolest}}">
<template>polymer-cooler is {{praise}}</template>
<script>
{{site.project_title}}('polymer-cooler', {
praise: 'cooler',
makeCoolest: function() {
this.super(); // calls polymer-cool's makeCoolest()
}
});
</script>
</polymer-element>
<polymer-cooler></polymer-cooler>
Thanks again for the doc refresh!
First off, the new site documentation is great.
I had a question about the use of Path.get to traverse an object in the section on observers. Isn't Path currently intended for defining paths in SVG and Canvas (at least in Chrome Canary?)
Also, I noticed that a few of the code samples had unevaled template code (note the site.project_title instead of Polymer):
<polymer-element name="polymer-cool">
<script>
{{site.project_title}}('polymer-cool', {
praise: 'cool',
makeCoolest: function() {
this.praise = 'coolest';
}
});
</script>
</polymer-element>
<polymer-element name="polymer-cooler" extends="polymer-cool" on-click="{{makeCoolest}}">
<template>polymer-cooler is {{praise}}</template>
<script>
{{site.project_title}}('polymer-cooler', {
praise: 'cooler',
makeCoolest: function() {
this.super(); // calls polymer-cool's makeCoolest()
}
});
</script>
</polymer-element>
<polymer-cooler></polymer-cooler>
Thanks again for the doc refresh!
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 polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/2b8a50fb-de5d-44ff-8140-5fba6f7c18bf%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
This was the page where I saw the documentations issues (although it appears they have been fixed):
http://www.polymer-project.org/docs/polymer/polymer.html
And here is a screenshot of creating a Path instance from the Chrome developer console (with experimental web features turned on):
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/8cd6432b-05bf-4611-8df6-bd613df9ccde%40googlegroups.com.