Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

binding to multiple mustaches (e.g. foo="{{bar}} {{zot}}") causes exception #377

Closed
frankiefu opened this issue Dec 16, 2013 · 1 comment

Comments

@frankiefu
Copy link
Member

The following sample code would generate exception:
Uncaught TypeError: Cannot call method 'getValueFrom' of undefined observe.js:70

<polymer-element name="x-a" attributes="foo" noscript>
</polymer-element>

<polymer-element name="x-b">
  <template>
    <x-a foo="{{bar}} {{zot}}"></x-a>
  </template>
  <script>
    Polymer('x-b', {
      bar: 'hello',
      zot: 'world'
    });
  </script>
</polymer-element>

<x-b></x-b>

This used to work before. It used to treat this as a 1 way binding.

@rafaelw
Copy link
Contributor

rafaelw commented Dec 16, 2013

Fixed: googlearchive/observe-js@f4ccab1

@rafaelw rafaelw closed this as completed Dec 16, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants