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

Side by Side Diff: sdk/lib/_internal/compiler/js_lib/internal_patch.dart

Issue 1212513002: sdk files reorganization to make dart2js a proper package (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: renamed Created 5 years, 6 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
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 import 'dart:_js_primitives' show printString;
6 import 'dart:_js_helper' show JS, patch;
7 import 'dart:_interceptors' show JSArray;
8
9 @patch
10 class Symbol implements core.Symbol {
11 @patch
12 const Symbol(String name)
13 : this._name = name;
14 }
15
16 @patch
17 void printToConsole(String line) {
18 printString('$line');
19 }
20
21 @patch
22 List makeListFixedLength(List growableList) {
23 return JSArray.markFixedList(growableList);
24 }
25
26 @patch
27 List makeFixedListUnmodifiable(List fixedLengthList) {
28 return JSArray.markUnmodifiableList(fixedLengthList);
29 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698