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

Side by Side Diff: tools/dom/templates/html/dart2js/html_dart2js.darttemplate

Issue 23437008: Added one-liner and "other resources" for dart:html library description (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: minor tweak, merge with master 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
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 // DO NOT EDIT - unless you are editing documentation as per: 5 // DO NOT EDIT - unless you are editing documentation as per:
6 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation 6 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation
7 // Auto-generated dart:html library. 7 // Auto-generated dart:html library.
8 8
9 /// The Dart HTML library. 9 /**
10 /// 10 * HTML elements and other resources for web-based applications that need to
11 /// For examples, see 11 * interact with the browser and the DOM (Document Object Model).
12 /// [Dart HTML5 Samples](https://github.com/dart-lang/dart-html5-samples) 12 *
13 /// on Github. 13 * This library includes DOM element types, CSS styling, local storage,
14 * media, speech, events, and more.
15 * To get started,
16 * check out the [Element] class, the base class for many of the HTML
17 * DOM types.
18 *
19 * ## Other resources
20 *
21 * * If you've never written a web app before, try our
22 * tutorials—[A Game of Darts](http://dartlang.org/docs/tutorials).
23 *
24 * * To see some web-based Dart apps in action and to play with the code,
25 * download
26 * [Dart Editor](http://www.dartlang.org/#get-started)
27 * and run its built-in examples.
28 *
29 * * For even more examples, see
30 * [Dart HTML5 Samples](https://github.com/dart-lang/dart-html5-samples)
31 * on Github.
32 */
14 library dart.dom.html; 33 library dart.dom.html;
15 34
16 import 'dart:async'; 35 import 'dart:async';
17 import 'dart:collection'; 36 import 'dart:collection';
18 import 'dart:_collection-dev' hide Symbol, deprecated; 37 import 'dart:_collection-dev' hide Symbol, deprecated;
19 import 'dart:html_common'; 38 import 'dart:html_common';
20 import 'dart:indexed_db'; 39 import 'dart:indexed_db';
21 import 'dart:isolate'; 40 import 'dart:isolate';
22 import "dart:convert"; 41 import "dart:convert";
23 import 'dart:math'; 42 import 'dart:math';
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 return JS('int', r'window.$dart$isolate$counter++'); 128 return JS('int', r'window.$dart$isolate$counter++');
110 } 129 }
111 130
112 // Fast path to invoke JS send port. 131 // Fast path to invoke JS send port.
113 _callPortSync(int id, message) { 132 _callPortSync(int id, message) {
114 return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message); 133 return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message);
115 } 134 }
116 135
117 Future<SendPort> spawnDomFunction(Function f) => 136 Future<SendPort> spawnDomFunction(Function f) =>
118 new Future.value(IsolateNatives.spawnDomFunction(f)); 137 new Future.value(IsolateNatives.spawnDomFunction(f));
OLDNEW
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/templates/html/dartium/html_dartium.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698