jmesserly@google.com
b6af10c40a
update polymer, nodebind, and templatebinding
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//307793002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37066 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-06 05:11:14 +00:00
sigmund@google.com
596c3da6ad
Enables codegen support in polymer
...
R=blois@google.com , jmesserly@google.com
Review URL: https://codereview.chromium.org//211393006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34531 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-28 22:11:28 +00:00
sigmund@google.com
c4a107e9e6
Reapply change that makes path-observer more agressive with property lookups.
...
Additionally fixes template-iterator to be robust in the precense of these
errors.
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//213713002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34456 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-26 23:04:21 +00:00
jmesserly@google.com
ae365d94aa
big update to observe, template_binding, polymer
...
The biggest changes are in pkg:observe where we picked up a lot of optimizations to PathObserver/CompoundObserver.
template_binding gets one-time bindings, synchronous expansion, and lightweight "bindable" objects.
The tests are heavily refactored to use Future instead of the hacky observeTest/performMicrotaskCheckpoint pattern (I have been slowly changing the style for new tests, but observe-js made the change for all of them. yay!). Oh and the performMC stuff is gone from pkg:observe now.
There's also a new pkg:polymer feature for observation, which was ported so we are at a consistent baseline. (http://www.polymer-project.org/polymer.html#observeblock )
R=justinfagnani@google.com , sigmund@google.com
Review URL: https://codereview.chromium.org//132403010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32342 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-05 22:23:00 +00:00
jmesserly@google.com
036d497ed5
work around for https://github.com/Polymer/TemplateBinding/issues/150
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//110763003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31008 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-10 03:23:17 +00:00
jmesserly@google.com
3c7bece94a
restore 30868 and 30873
...
the only difference from what you already reviewed is the inclusion of:
https://github.com/dart-lang/CustomElements/pull/2
A shame your pull request from 3 months(!) ago hasn't been accepted
(reverts 30875)
R=blois@google.com
Review URL: https://codereview.chromium.org//105783003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30967 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-06 20:51:20 +00:00
jmesserly@google.com
e5b35ae519
Reverting 30868 and 30873.
...
There's still a problem in document_register_type_extensions_test that isn't obvious. Need more time to investigate.
Review URL: https://codereview.chromium.org//105203006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30875 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-04 22:51:54 +00:00
jmesserly@google.com
84c98a2902
update TemplateBinding to 119bbab376aa4a8ee96a5354e3ebe84395d1da62
...
* fixes an issue where not having a sub-template results in incorrect custom element upgrade.
update custom elements to 93a27b791d4bfdddad3be17fccda3c5052bf4a16
* needed to work with the latest TemplateBinding (specifically the importNode fix)
Note that custom elements code is from: https://github.com/dart-lang/CustomElements/pull/1
R=blois@google.com
Review URL: https://codereview.chromium.org//98533004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30868 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-04 20:59:56 +00:00
jmesserly@google.com
d93ec94300
fix selected index binding to not count microtasks
...
https://code.google.com/p/dart/issues/detail?id=13968
R=sigmund@google.com
Review URL: https://codereview.chromium.org//52553007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29851 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-04 22:10:48 +00:00
jmesserly@google.com
33fa4d5eba
introduce ObservableList.listChanges to keep list changes separate from property changes
...
this is part of addressing: 13554, 14157, 13359
R=sigmund@google.com
Review URL: https://codereview.chromium.org//53743002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29630 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 02:31:50 +00:00
jmesserly@google.com
7b3123e02a
Update our TemplateBinding port
...
https://github.com/Polymer/TemplateBinding/tree/ed3266266e751b5ab1f75f8e0509d0d5f0ef35d8
R=sigmund@google.com
Review URL: https://codereview.chromium.org//50203004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29500 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 23:26:20 +00:00
jmesserly@google.com
34085ccdb5
port Node.bind to bd0a0591920da9091b326627a46a104a92c7efe7
...
the first step to fix https://code.google.com/p/dart/issues/detail?id=13950
R=sigmund@google.com
Review URL: https://codereview.chromium.org//42433002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29294 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 21:39:06 +00:00
jmesserly@google.com
360ea42322
Rename mdv -> template_binding, remove experiemntal apis from dart:html
...
essentially, we trade off reduce dart:html API surface area for more annoying usage of these APIs. Since Polymer hides most of this, I suspect it won't be too annoying in practice.
Sample usage:
nodeBind(node).bind(...)
templateBind(node).model = ...;
R=sigmund@google.com
Review URL: https://codereview.chromium.org//34453003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29057 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 02:11:49 +00:00