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

Side by Side Diff: lib/runtime/dart_runtime.js

Issue 1263583005: implement exports, fixes #141 (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: rebase Created 5 years, 4 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
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 dart_library.library('dart_runtime/dart', null, /* Imports */[ 5 dart_library.library('dart_runtime/dart', null, /* Imports */[
6 'dart_runtime/_classes', 6 'dart_runtime/_classes',
7 'dart_runtime/_errors', 7 'dart_runtime/_errors',
8 'dart_runtime/_generators', 8 'dart_runtime/_generators',
9 'dart_runtime/_operations', 9 'dart_runtime/_operations',
10 'dart_runtime/_rtti', 10 'dart_runtime/_rtti',
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 'virtualField' 57 'virtualField'
58 ]); 58 ]);
59 59
60 exportFrom(generators, [ 60 exportFrom(generators, [
61 'syncStar', 61 'syncStar',
62 'async', 62 'async',
63 'asyncStar' 63 'asyncStar'
64 ]); 64 ]);
65 65
66 // From dart_utils 66 // From dart_utils
67 exportFrom(dart_utils, ['copyProperties', 'instantiate']); 67 exportFrom(dart_utils, ['copyProperties', 'export']);
68 // Renames 68 // Renames
69 exports.defineLazyClass = _export(dart_utils.defineLazy); 69 exports.defineLazyClass = _export(dart_utils.defineLazy);
70 exports.defineLazyProperties = _export(dart_utils.defineLazy); 70 exports.defineLazyProperties = _export(dart_utils.defineLazy);
71 exports.defineLazyClassGeneric = _export(dart_utils.defineLazyProperty); 71 exports.defineLazyClassGeneric = _export(dart_utils.defineLazyProperty);
72 72
73 // From operations 73 // From operations
74 exportFrom(operations, [ 74 exportFrom(operations, [
75 'JsIterator', 75 'JsIterator',
76 'arity', 76 'arity',
77 'assert', 77 'assert',
(...skipping 30 matching lines...) Expand all
108 ]); 108 ]);
109 109
110 // From rtti 110 // From rtti
111 exportFrom(rtti, [ 111 exportFrom(rtti, [
112 'fn', 112 'fn',
113 'realRuntimeType', 113 'realRuntimeType',
114 'runtimeType', 114 'runtimeType',
115 ]); 115 ]);
116 116
117 }); 117 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698