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

Side by Side Diff: tools/dom/templates/html/impl/impl_Document.darttemplate

Issue 23591046: Making Document, Element and Window documentable via @DocsEditable (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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 | « tools/dom/docs/docs.json ('k') | tools/dom/templates/html/impl/impl_Element.darttemplate » ('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) 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 part of $LIBRARYNAME; 5 part of $LIBRARYNAME;
6 6
7 /** 7 @DocsEditable
Emily Fortuna 2013/09/14 03:47:43 is this really an improvement? I think it's nice t
8 * The base class for all documents.
9 *
10 * Each web page loaded in the browser has its own [Document] object, which is
11 * typically an [HtmlDocument].
12 *
13 * If you aren't comfortable with DOM concepts, see the Dart tutorial
14 * [Target 2: Connect Dart & HTML](http://www.dartlang.org/docs/tutorials/connec t-dart-html/).
15 */
16 $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME extends Node $NATIVESPEC 8 $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME extends Node $NATIVESPEC
17 { 9 {
18 10
19 $!MEMBERS 11 $!MEMBERS
20 12
21 /** 13 /**
22 * Finds all descendant elements of this document that match the specified 14 * Finds all descendant elements of this document that match the specified
23 * group of selectors. 15 * group of selectors.
24 * 16 *
25 * Unless your webpage contains multiple documents, the top-level queryAll 17 * Unless your webpage contains multiple documents, the top-level queryAll
(...skipping 12 matching lines...) Expand all
38 30
39 /// Checks if [register] is supported on the current platform. 31 /// Checks if [register] is supported on the current platform.
40 bool get supportsRegister { 32 bool get supportsRegister {
41 $if DART2JS 33 $if DART2JS
42 return JS('bool', '("register" in #)', this); 34 return JS('bool', '("register" in #)', this);
43 $else 35 $else
44 return true; 36 return true;
45 $endif 37 $endif
46 } 38 }
47 } 39 }
OLDNEW
« no previous file with comments | « tools/dom/docs/docs.json ('k') | tools/dom/templates/html/impl/impl_Element.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698