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

Side by Side Diff: packages/web_components/lib/custom_element_proxy.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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 library web_components.custom_element_proxy; 4 library web_components.custom_element_proxy;
5 5
6 import 'dart:js' as js; 6 import 'dart:js' as js;
7 import 'package:initialize/initialize.dart'; 7 import 'package:initialize/initialize.dart';
8 import 'interop.dart'; 8 import 'interop.dart';
9 9
10 /// Annotation for a dart class which proxies a javascript custom element. 10 /// Annotation for a dart class which proxies a javascript custom element.
(...skipping 19 matching lines...) Expand all
30 class CustomElementProxyMixin { 30 class CustomElementProxyMixin {
31 js.JsObject _proxy; 31 js.JsObject _proxy;
32 32
33 js.JsObject get jsElement { 33 js.JsObject get jsElement {
34 if (_proxy == null) { 34 if (_proxy == null) {
35 _proxy = new js.JsObject.fromBrowserObject(this); 35 _proxy = new js.JsObject.fromBrowserObject(this);
36 } 36 }
37 return _proxy; 37 return _proxy;
38 } 38 }
39 } 39 }
OLDNEW
« no previous file with comments | « packages/web_components/lib/build/web_components.dart ('k') | packages/web_components/lib/dart_support.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698