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

Side by Side Diff: src/site/articles/trydart/examples/packages/browser/interop.js

Issue 35913002: Try Dart 1 hour experience first draft (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: rough draft ready for review (2nd try after errors) Created 7 years, 1 month 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
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 // Support for JS interoperability 6 // Support for JS interoperability
7 // --------------------------------------------------------------------------- 7 // ---------------------------------------------------------------------------
8 function SendPortSync() { 8 function SendPortSync() {
9 } 9 }
10 10
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 port.receive(f); 530 port.receive(f);
531 window.registerPort(name, port.toSendPort()); 531 window.registerPort(name, port.toSendPort());
532 } 532 }
533 533
534 makeGlobalPort('dart-js-context', context); 534 makeGlobalPort('dart-js-context', context);
535 makeGlobalPort('dart-js-create', construct); 535 makeGlobalPort('dart-js-create', construct);
536 makeGlobalPort('dart-js-instanceof', proxyInstanceof); 536 makeGlobalPort('dart-js-instanceof', proxyInstanceof);
537 makeGlobalPort('dart-js-delete-property', proxyDeleteProperty); 537 makeGlobalPort('dart-js-delete-property', proxyDeleteProperty);
538 makeGlobalPort('dart-js-convert', proxyConvert); 538 makeGlobalPort('dart-js-convert', proxyConvert);
539 })(); 539 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698