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

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

Issue 182193002: [polymer] interop with polymer-element and polymer.js (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 /// Custom HTML tags, data binding, and templates for building 5 /// Custom HTML tags, data binding, and templates for building
6 /// structured, encapsulated, client-side web apps. 6 /// structured, encapsulated, client-side web apps.
7 /// 7 ///
8 /// Polymer.dart, the next evolution of Web UI, 8 /// Polymer.dart, the next evolution of Web UI,
9 /// is an in-progress Dart port of the 9 /// is an in-progress Dart port of the
10 /// [Polymer project](http://www.polymer-project.org/). 10 /// [Polymer project](http://www.polymer-project.org/).
(...skipping 19 matching lines...) Expand all
30 /// Example code, project status, and 30 /// Example code, project status, and
31 /// information about how to get started using Polymer.dart in your apps. 31 /// information about how to get started using Polymer.dart in your apps.
32 /// 32 ///
33 /// * [polymer.dart package](http://pub.dartlang.org/packages/polymer): 33 /// * [polymer.dart package](http://pub.dartlang.org/packages/polymer):
34 /// More details, such as the current major release number. 34 /// More details, such as the current major release number.
35 /// 35 ///
36 /// * [Upgrading to Polymer.dart](http://www.dartlang.org/polymer-dart/upgrading -to-polymer-from-web-ui.html): 36 /// * [Upgrading to Polymer.dart](http://www.dartlang.org/polymer-dart/upgrading -to-polymer-from-web-ui.html):
37 /// Tips for converting your apps from Web UI to Polymer.dart. 37 /// Tips for converting your apps from Web UI to Polymer.dart.
38 library polymer; 38 library polymer;
39 39
40 // Last ported from:
41 // https://github.com/Polymer/polymer-dev/tree/37eea00e13b9f86ab21c85a955585e8e4 237e3d2
42 // TODO(jmesserly): we need to do a redundancy check. Some code like the FOUC
43 // protection seems out of date, as if left over from the older
44 // b7200854b2441a22ce89f6563963f36c50f5150d baseline.
45
40 import 'dart:async'; 46 import 'dart:async';
41 import 'dart:collection' show HashMap, HashSet; 47 import 'dart:collection' show HashMap, HashSet, LinkedHashMap;
42 import 'dart:html'; 48 import 'dart:html';
43 import 'dart:js' as js; 49 import 'dart:js' as js show context;
50 import 'dart:js' hide context;
44 51
45 @MirrorsUsed(metaTargets: 52 @MirrorsUsed(metaTargets:
46 const [Reflectable, ObservableProperty, PublishedProperty, CustomTag, 53 const [Reflectable, ObservableProperty, PublishedProperty, CustomTag,
47 _InitMethodAnnotation], 54 _InitMethodAnnotation],
48 targets: const [PublishedProperty], 55 targets: const [PublishedProperty],
49 override: const ['smoke.mirrors', 'polymer']) 56 override: const ['smoke.mirrors', 'polymer'])
50 import 'dart:mirrors'; 57 import 'dart:mirrors';
51 58
52 import 'package:logging/logging.dart' show Logger, Level; 59 import 'package:logging/logging.dart' show Logger, Level;
53 import 'package:observe/observe.dart'; 60 import 'package:observe/observe.dart';
54 import 'package:observe/src/dirty_check.dart' show dirtyCheckZone; 61 import 'package:observe/src/dirty_check.dart' show dirtyCheckZone;
55 import 'package:path/path.dart' as path; 62 import 'package:path/path.dart' as path;
56 import 'package:polymer_expressions/polymer_expressions.dart' 63 import 'package:polymer_expressions/polymer_expressions.dart'
57 show PolymerExpressions; 64 show PolymerExpressions;
58 import 'package:smoke/smoke.dart' as smoke; 65 import 'package:smoke/smoke.dart' as smoke;
59 import 'package:smoke/mirrors.dart' as smoke; 66 import 'package:smoke/mirrors.dart' as smoke;
60 import 'package:template_binding/template_binding.dart'; 67 import 'package:template_binding/template_binding.dart';
61 import 'package:web_components/polyfill.dart' show customElementsReady; 68 import 'package:web_components/polyfill.dart' show customElementsReady;
62 69
63 import 'deserialize.dart' as deserialize; 70 import 'deserialize.dart' as deserialize;
64 71
65 export 'package:observe/observe.dart'; 72 export 'package:observe/observe.dart';
66 export 'package:observe/html.dart'; 73 export 'package:observe/html.dart';
67 74
68 part 'src/boot.dart';
69 part 'src/declaration.dart'; 75 part 'src/declaration.dart';
70 part 'src/instance.dart'; 76 part 'src/instance.dart';
71 part 'src/job.dart'; 77 part 'src/job.dart';
72 part 'src/loader.dart'; 78 part 'src/loader.dart';
OLDNEW
« no previous file with comments | « pkg/polymer/example/component/news/test/news_index_test.html ('k') | pkg/polymer/lib/polymer.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698