dart-sdk/pkg/observe/pubspec.yaml
jmesserly@google.com 08529e98d8 Switch Node.bind to interop. This allows JS elements to work properly with Dart binding paths for things that are not JSON serializable.
Two big things this enables:
* elements themselves can be data bound
* anything jsify can handle, including Dart functions. This means as we get @Export and such, it will be possible to bind those Dart types directly into JS elements. With that we can make things like <core-style> much nicer to use.

This also removes ported code from https://github.com/Polymer/NodeBind except for interfaces, since we don't need it anymore.

Added a Polymer test to verify it works for the typical end-to-end case. This uncovered the "deliver" method that needs to be there on Bindable.

Finally one Node.bind test depends on https://github.com/Polymer/ShadowDOM/pull/462, which fixes an issue where SD polyfill doesn't wrap an API used by Node.bind. Apparently no one has ever hit this on the JS side (the Dart port was immune, because our treatment of HTMLCollection is better).

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38051 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-08 04:57:28 +00:00

22 lines
774 B
YAML

name: observe
version: 0.11.0-dev
author: Polymer.dart Authors <web-ui-dev@dartlang.org>
description: >
Observable properties and objects for use in template_binding.
Template Binding extends HTML and the DOM APIs to support a sensible
separation between the UI (DOM) of a document or application and its
underlying data (model). Updates to the model are reflected in the DOM and
user input into the DOM is immediately assigned to the model.
homepage: https://www.dartlang.org/polymer-dart/
dependencies:
analyzer: '>=0.15.6 <0.16.0'
barback: '>=0.9.0 <0.15.0'
logging: '>=0.9.0 <0.10.0'
path: '>=0.9.0 <2.0.0'
smoke: '>=0.1.0 <0.2.0'
source_maps: '>=0.9.0 <0.10.0'
dev_dependencies:
unittest: '>=0.10.0 <0.11.0'
environment:
sdk: '>=1.2.0 <2.0.0'