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

Side by Side Diff: packages/polymer_interop/lib/src/polymer_proxy_mixin.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) 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 library polymer_interop.src.js_element_proxy; 4 library polymer_interop.src.js_element_proxy;
5 5
6 import 'dart:html' show Element, DocumentFragment; 6 import 'dart:html' show Element, DocumentFragment;
7 import 'dart:js' as js; 7 import 'dart:js' as js;
8 import 'package:web_components/web_components.dart' 8 import 'package:web_components/web_components.dart'
9 show CustomElementProxyMixin; 9 show CustomElementProxyMixin;
10 10
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 /// deactivate the element's bindings and allow its memory to be reclaimed. 54 /// deactivate the element's bindings and allow its memory to be reclaimed.
55 void unbindAll() => jsElement.callMethod('unbindAll', []); 55 void unbindAll() => jsElement.callMethod('unbindAll', []);
56 56
57 /// Call in `detached` to prevent the element from unbinding when it is 57 /// Call in `detached` to prevent the element from unbinding when it is
58 /// detached from the dom. The element is unbound as a cleanup step that 58 /// detached from the dom. The element is unbound as a cleanup step that
59 /// allows its memory to be reclaimed. If `cancelUnbindAll` is used, consider 59 /// allows its memory to be reclaimed. If `cancelUnbindAll` is used, consider
60 ///calling `unbindAll` when the element is no longer needed. This will allow 60 ///calling `unbindAll` when the element is no longer needed. This will allow
61 ///its memory to be reclaimed. 61 ///its memory to be reclaimed.
62 void cancelUnbindAll() => jsElement.callMethod('cancelUnbindAll', []); 62 void cancelUnbindAll() => jsElement.callMethod('cancelUnbindAll', []);
63 } 63 }
OLDNEW
« no previous file with comments | « packages/polymer_interop/lib/src/js/polymer.min.js ('k') | packages/polymer_interop/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698