Studio v6.7.5 generates Polymer 1.0 syntax?

Hello,

I have started using Polymer UI but I noticed that Studio generates Polymer 1.0 code and not 2.0 as the Polymer tutorial suggests?

Studio generates:

  <script>
    Polymer({
      is: 'myweb-login',
      behaviors: [CubaLocalizeBehavior],
      _handleLoginError: function() {
        this.$.loginError.show();
      }
    })
  </script>

Which should look like:

  <script>
    // Our web component has to extend Polymer.Element class
    class AlertButton extends Polymer.Element {
    ...

Polymer UI Tutorial Simple Component

Thanks.

Hi,

Class based syntax will be used by Studio in the upcoming 6.8 release.

Thank you for the update, Vlad.