You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, this still happens. It's not quite as bad as it used to be. Actually, it may not even be a true bug anymore.
The attached, installed in pubspec.yaml, web/index.html, lib/click-counter.html, and lib/click_counter.dart, and pub installed, will currently run with Polymer 0.9.5+2.
If you pub serve the application, access it in Dartium, and click the “Click Me” button, the counter is not updated. It won't work in other browsers due to a lack of a pubspec.yaml transformer.
My expectation is that, even without a transformer, this ought to still work in Dartium. The element is evaluated and added to the page as expected. But the observable variable is not updated.
Perhaps it is unreasonable to expect that this work without a transformer, but it used to (a long while back) and everything else does. Not a huge bug and there is a workaround.
This issue was originally filed by chris....@gmail.com
What steps will reproduce the problem?
Per the example, the text below the button should update to reflect the number of times the button has been clicked. The text always says "0 times".
This is with:
Dart VM version: 1.0.0.3_r30188 (Tue Nov 12 01:15:45 2013) on "linux_x64"
And a pubspec.yaml that includes only:
dependencies:
polymer: any
BUT, if I explicitly downgrade observable to 0.9.0:
dependencies:
polymer: any
observe: "0.9.0+1"
It works.
The text was updated successfully, but these errors were encountered: