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

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

Issue 17793002: Added link to HTML5 samples to the top of HTML library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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 /// The Dart HTML library.
10 ///
11 /// For examples, see
12 /// [Dart HTML5 Samples](https://github.com/dart-lang/dart-html5-samples)
13 /// on Github.
10 library dart.dom.html; 14 library dart.dom.html;
11 15
12 import 'dart:async'; 16 import 'dart:async';
13 import 'dart:collection'; 17 import 'dart:collection';
14 import 'dart:_collection-dev' hide Symbol; 18 import 'dart:_collection-dev' hide Symbol;
15 import 'dart:html_common'; 19 import 'dart:html_common';
16 import 'dart:indexed_db'; 20 import 'dart:indexed_db';
17 import 'dart:isolate'; 21 import 'dart:isolate';
18 import 'dart:json' as json; 22 import 'dart:json' as json;
19 import 'dart:math'; 23 import 'dart:math';
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 return JS('int', r'window.$dart$isolate$counter++'); 90 return JS('int', r'window.$dart$isolate$counter++');
87 } 91 }
88 92
89 // Fast path to invoke JS send port. 93 // Fast path to invoke JS send port.
90 _callPortSync(int id, message) { 94 _callPortSync(int id, message) {
91 return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message); 95 return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message);
92 } 96 }
93 97
94 Future<SendPort> spawnDomFunction(Function f) => 98 Future<SendPort> spawnDomFunction(Function f) =>
95 new Future.value(IsolateNatives.spawnDomFunction(f)); 99 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