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

Side by Side Diff: pkg/polymer_expressions/lib/polymer_expressions.dart

Issue 23453034: Added library-level comments for polymer and polymer_expressions (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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 | Annotate | Revision Log
« pkg/polymer/lib/polymer.dart ('K') | « pkg/polymer/lib/polymer.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 /**
6 * A syntax used with polymer elements that
7 * allows for complex binding expressions, including
8 * property access, function invocation,
9 * list/map indexing, and two-way filtering.
10 *
11 * Polymer expressions are part of the Polymer.dart project.
sethladd 2013/09/04 20:40:22 I think it's one word: PolymerExpressions
Jennifer Messerly 2013/09/04 22:09:35 so far we have been using two words in the readme:
sethladd 2013/09/04 22:21:15 Looks like they updated their site. http://www.pol
mem 2013/09/09 18:40:17 I'll take a look at the README on Monday. mem On
12 * Refer to the
13 * [Polymer.dart](http://www.dartlang.org/polymer-dart/)
14 * home page for example code, project status, and
15 * information about how to get started using Polymer.dart in your apps.
16 *
17 * To use the polymer_expressions package in your application,
sethladd 2013/09/04 20:40:22 Is it useful to use polymer_expressions without po
Jennifer Messerly 2013/09/04 22:09:35 It could be, if you are using data binding only. B
mem 2013/09/09 18:40:17 Done.
18 * add a dependency in the app's pubspec.yaml file:
19 *
20 * dependencies:
21 * polymer_expressions: any
22 *
23 * Then import the library into your application:
24 *
25 * import 'package:polymer_expressions/polymer_expressions.dart';
26 *
27 * ## Other resources
28 *
29 * * Check out the source code for the polymer expressions package
sethladd 2013/09/04 20:40:22 you're not really checking out the source code at
mem 2013/09/09 18:40:17 Done.
30 * at the pub repository:
31 * [polymer_expressions](http://pub.dartlang.org/packages/polymer_expressions).
32 *
33 * * If you were using Web UI in your apps,
sethladd 2013/09/04 20:40:22 It's OK if you drop this, since we mention this on
mem 2013/09/09 18:40:17 Done.
34 * [Upgrading to Polymer.dart]
35 * (http://www.dartlang.org/polymer-dart/upgrading-to-polymer-from-web-ui.html)
36 * contains some tips to help you convert.
37 */
38
5 library polymer_expressions; 39 library polymer_expressions;
6 40
7 import 'dart:async'; 41 import 'dart:async';
8 import 'dart:html'; 42 import 'dart:html';
9 43
10 import 'package:observe/observe.dart'; 44 import 'package:observe/observe.dart';
11 45
12 import 'eval.dart'; 46 import 'eval.dart';
13 import 'expression.dart'; 47 import 'expression.dart';
14 import 'parser.dart'; 48 import 'parser.dart';
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 134
101 getValueWorkaround(key) { 135 getValueWorkaround(key) {
102 if (key == _VALUE) return value; 136 if (key == _VALUE) return value;
103 } 137 }
104 138
105 setValueWorkaround(key, v) { 139 setValueWorkaround(key, v) {
106 if (key == _VALUE) value = v; 140 if (key == _VALUE) value = v;
107 } 141 }
108 142
109 } 143 }
OLDNEW
« pkg/polymer/lib/polymer.dart ('K') | « pkg/polymer/lib/polymer.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698