Commit Graph

7 Commits

Author SHA1 Message Date
justinfagnani@google.com 44f91e1401 Remove imports of mdv from stream examples
BUG=
R=jmesserly@google.com

Review URL: https://codereview.chromium.org//74063004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30327 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-16 00:39:28 +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
jmesserly@google.com 38c4cd1f6b package:observe fix various api issues
in particular:
provide oldValue/newValue/target in PropertyChangeRecord -- https://code.google.com/p/dart/issues/detail?id=12075
use == in notifyPropertyChange -- https://code.google.com/p/dart/issues/detail?id=12463
remove Mixin/Base suffix -- https://code.google.com/p/dart/issues/detail?id=13353
remove ChangeRecord.changes -- https://code.google.com/p/dart/issues/detail?id=14128

other changes:
rename PropertyChangeRecord.field to .name (it's not just fields)
PathObserver rethrows errors from inside the getter/setter to help debug those
PathObserver now looks up Map keys using Strings instead of Symbols.
generic type on PropertyChangeRecord, MapChangeRecord

I stopped short of adding "target" to List/Map change record but am interested in a follow up to address that: https://code.google.com/p/dart/issues/detail?id=14157

R=sigmund@google.com

Review URL: https://codereview.chromium.org//27618002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28774 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 03:32:40 +00:00
jmesserly@google.com 958feffd78 fix dart2js warnings in polymer_expressions pkg
BUG=
R=sigmund@google.com

Review URL: https://codereview.chromium.org//26318004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28627 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 02:54:24 +00:00
jmesserly@google.com b16ddf6c12 use symbol literals instead of const ctor
R=rnystrom@google.com, sigmund@google.com

Review URL: https://codereview.chromium.org//26734004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28485 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-10 22:55:17 +00:00
justinfagnani@google.com 0a30cd7b70 Silently handle handle eval exceptions in PolymerExpressions
BUG=
R=jmesserly@google.com

Review URL: https://codereview.chromium.org//24031006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27672 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-19 18:25:23 +00:00
jmesserly@google.com f300344407 move fancy_syntax into Dart SVN
Changes after moving:

deleted: AUTHORS, LICENSE, PATENTS, codereview.settings.
these are redundant with the Dart repository files.

pubspec.yaml: remove versions, changed homepage
syntax_test.dart: add the HTML via Dart, so it can run on browser bots
syntax_test.html: removed the HTML that is now added by syntax_test.dart
pkg/pkg.status: skip the in-browser syntax_test on standalone VM

R=justinfagnani@google.com

Review URL: https://codereview.chromium.org//22950008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26237 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 23:04:19 +00:00