Hi all, So in 0.9 Mixins becomes Behaviors, but I can't even make the official demo work.
As said in the doc <https://www.polymer-project.org/0.9/docs/devguide/behaviors.html>, I should put the behavior object in a html file(which is weird since it'll broke some build chains), and then do this: <link rel="import" href="highlight-behavior.html"> But all I got is `HighlightBehavior not defined` when runinng the line behaviors: [HighlightBehavior] On the other hand, I renamed the extension of the script to `.js` and tried this: <script src="highlight-behavior.js"> <script> Polymer({ is: 'my-element', behaviors: [HighlightBehavior] }); </script> And it works fine. So I'm wondering is that a bug in docs or am I doing something wrong? Thx NanoWANG 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/6a359536-0d46-470f-9f88-aefbe909019b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
