Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Side by Side Diff: packages/observe/lib/src/bindable.dart

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library observe.src.bindable; 5 library observe.src.bindable;
6 6
7 /// An object that can be data bound. 7 /// An object that can be data bound.
8 // Normally this is used with 'package:template_binding'. 8 // Normally this is used with 'package:template_binding'.
9 // TODO(jmesserly): Node.bind polyfill calls this "observable" 9 // TODO(jmesserly): Node.bind polyfill calls this "observable"
10 abstract class Bindable { 10 abstract class Bindable {
(...skipping 22 matching lines...) Expand all
33 // JavaScript? 33 // JavaScript?
34 get value; 34 get value;
35 35
36 /// This can be implemented for two-way bindings. By default does nothing. 36 /// This can be implemented for two-way bindings. By default does nothing.
37 set value(newValue) {} 37 set value(newValue) {}
38 38
39 /// Deliver changes. Typically this will perform dirty-checking, if any is 39 /// Deliver changes. Typically this will perform dirty-checking, if any is
40 /// needed. 40 /// needed.
41 void deliver() {} 41 void deliver() {}
42 } 42 }
OLDNEW
« no previous file with comments | « packages/observe/lib/src/bind_property.dart ('k') | packages/observe/lib/src/change_notifier.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698