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

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

Issue 21369005: fix analysis error in custom_element (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | pkg/pkg.status » ('j') | 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 /** 5 /**
6 * Custom Elements let authors define their own elements. Authors associate code 6 * Custom Elements let authors define their own elements. Authors associate code
7 * with custom tag names, and then use those custom tag names as they would any 7 * with custom tag names, and then use those custom tag names as they would any
8 * standard tag. See <www.polymer-project.org/platform/custom-elements.html> 8 * standard tag. See <www.polymer-project.org/platform/custom-elements.html>
9 * for more information. 9 * for more information.
10 */ 10 */
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 get model => host.model; 219 get model => host.model;
220 220
221 void set model(newModel) { 221 void set model(newModel) {
222 host.model = newModel; 222 host.model = newModel;
223 } 223 }
224 224
225 get templateInstance => host.templateInstance; 225 get templateInstance => host.templateInstance;
226 get isTemplate => host.isTemplate; 226 get isTemplate => host.isTemplate;
227 get ref => host.ref; 227 get ref => host.ref;
228 get content => host.content; 228 get content => host.content;
229 DocumentFragment createInstance(model, BindingDelegate delegate) => 229 DocumentFragment createInstance(model, [BindingDelegate delegate]) =>
230 host.createInstance(model, delegate); 230 host.createInstance(model, delegate);
231 createBinding(String name, model, String path) => 231 createBinding(String name, model, String path) =>
232 host.createBinding(name, model, path); 232 host.createBinding(name, model, path);
233 void bind(String name, model, String path) => host.bind(name, model, path); 233 void bind(String name, model, String path) => host.bind(name, model, path);
234 void unbind(String name) => host.unbind(name); 234 void unbind(String name) => host.unbind(name);
235 void unbindAll() => host.unbindAll(); 235 void unbindAll() => host.unbindAll();
236 get bindings => host.bindings; 236 get bindings => host.bindings;
237 BindingDelegate get bindingDelegate => host.bindingDelegate; 237 BindingDelegate get bindingDelegate => host.bindingDelegate;
238 set bindingDelegate(BindingDelegate value) { host.bindingDelegate = value; } 238 set bindingDelegate(BindingDelegate value) { host.bindingDelegate = value; }
239 239
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
696 for (var removed in record.removedNodes) { 696 for (var removed in record.removedNodes) {
697 if (identical(node, removed)) { 697 if (identical(node, removed)) {
698 observer.disconnect(); 698 observer.disconnect();
699 element.removed(); 699 element.removed();
700 return; 700 return;
701 } 701 }
702 } 702 }
703 } 703 }
704 }).observe(element.parentNode, childList: true); 704 }).observe(element.parentNode, childList: true);
705 } 705 }
OLDNEW
« no previous file with comments | « no previous file | pkg/pkg.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698