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

Side by Side Diff: lib/polymer_micro.dart

Issue 1290643006: First cut at behaviors. This just implements the lifecycle methodsportion. We may get the rest for … (Closed) Base URL: git@github.com:dart-lang/polymer-dart.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « no previous file | lib/src/common/behavior.dart » ('j') | lib/src/common/behavior.dart » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 @HtmlImport('polymer_micro.html') 4 @HtmlImport('polymer_micro.html')
5 library polymer.lib.polymer_micro; 5 library polymer.lib.polymer_micro;
6 6
7 import 'dart:html'; 7 import 'dart:html';
8 8
9 export 'package:polymer_interop/polymer_interop.dart'; 9 export 'package:polymer_interop/polymer_interop.dart';
10 import 'package:web_components/web_components.dart' show HtmlImport; 10 import 'package:web_components/web_components.dart' show HtmlImport;
11 export 'src/common/behavior.dart';
11 import 'src/common/polymer_mixin.dart'; 12 import 'src/common/polymer_mixin.dart';
12 export 'src/common/polymer_mixin.dart'; 13 export 'src/common/polymer_mixin.dart';
13 export 'src/common/polymer_register.dart'; 14 export 'src/common/polymer_register.dart';
14 export 'src/common/polymer_serialize.dart'; 15 export 'src/common/polymer_serialize.dart';
15 import 'src/common/js_proxy.dart'; 16 import 'src/common/js_proxy.dart';
16 export 'src/common/js_proxy.dart'; 17 export 'src/common/js_proxy.dart';
17 export 'src/common/property.dart'; 18 export 'src/common/property.dart';
18 export 'init.dart' show initPolymer; 19 export 'init.dart' show initPolymer;
19 20
20 class PolymerElement extends HtmlElement with PolymerMixin, JsProxy { 21 class PolymerElement extends HtmlElement with PolymerMixin, JsProxy {
21 PolymerElement.created() : super.created() { 22 PolymerElement.created() : super.created() {
22 polymerCreated(); 23 polymerCreated();
23 } 24 }
24 } 25 }
OLDNEW
« no previous file with comments | « no previous file | lib/src/common/behavior.dart » ('j') | lib/src/common/behavior.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698