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

Side by Side Diff: tools/dom/src/native_DOMImplementation.dart

Issue 2957593002: Spelling fixes e to i. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « tools/dom/src/KeyboardEventStream.dart ('k') | tools/testing/dart/path.dart » ('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 html; 5 part of html;
6 6
7 class _Property { 7 class _Property {
8 _Property(this.name) 8 _Property(this.name)
9 : _hasValue = false, 9 : _hasValue = false,
10 writable = false, 10 writable = false,
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 } 513 }
514 514
515 if (locals != null) { 515 if (locals != null) {
516 for (int i = 0; i < locals.length; i += 2) { 516 for (int i = 0; i < locals.length; i += 2) {
517 addArg(locals[i], locals[i + 1]); 517 addArg(locals[i], locals[i + 1]);
518 } 518 }
519 } 519 }
520 // Inject all the already defined console variables. 520 // Inject all the already defined console variables.
521 _consoleTempVariables._data.forEach(addArg); 521 _consoleTempVariables._data.forEach(addArg);
522 522
523 // TODO(jacobr): remove the parentheses around the expresson once 523 // TODO(jacobr): remove the parentheses around the expression once
524 // dartbug.com/13723 is fixed. Currently we wrap expression in parentheses 524 // dartbug.com/13723 is fixed. Currently we wrap expression in parentheses
525 // to ensure only valid Dart expressions are allowed. Otherwise the DartVM 525 // to ensure only valid Dart expressions are allowed. Otherwise the DartVM
526 // quietly ignores trailing Dart statements resulting in user confusion 526 // quietly ignores trailing Dart statements resulting in user confusion
527 // when part of an invalid expression they entered is ignored. 527 // when part of an invalid expression they entered is ignored.
528 sb..write(') => (\n$expression\n)'); 528 sb..write(') => (\n$expression\n)');
529 return [sb.toString(), args.values.toList(growable: false)]; 529 return [sb.toString(), args.values.toList(growable: false)];
530 } 530 }
531 531
532 static String _getShortSymbolName( 532 static String _getShortSymbolName(
533 Symbol symbol, DeclarationMirror declaration) { 533 Symbol symbol, DeclarationMirror declaration) {
(...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after
1390 get _scheduleImmediateClosure => (void callback()) { 1390 get _scheduleImmediateClosure => (void callback()) {
1391 _scheduleImmediateHelper._schedule(callback); 1391 _scheduleImmediateHelper._schedule(callback);
1392 }; 1392 };
1393 1393
1394 get _pureIsolateScheduleImmediateClosure => ((void callback()) => 1394 get _pureIsolateScheduleImmediateClosure => ((void callback()) =>
1395 throw new UnimplementedError("scheduleMicrotask in background isolates " 1395 throw new UnimplementedError("scheduleMicrotask in background isolates "
1396 "are not supported in the browser")); 1396 "are not supported in the browser"));
1397 1397
1398 // Class for unsupported native browser 'DOM' objects. 1398 // Class for unsupported native browser 'DOM' objects.
1399 class _UnsupportedBrowserObject extends DartHtmlDomObject {} 1399 class _UnsupportedBrowserObject extends DartHtmlDomObject {}
OLDNEW
« no previous file with comments | « tools/dom/src/KeyboardEventStream.dart ('k') | tools/testing/dart/path.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698