OLD | NEW |
---|---|
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 import 'dart:_js_helper' show patch; | 5 import 'dart:_js_helper' show patch; |
6 | 6 |
7 @patch | 7 @patch |
8 class _Directory { | 8 class _Directory { |
9 @patch | 9 @patch |
10 static _current() { | 10 static _current() { |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
243 | 243 |
244 @patch | 244 @patch |
245 static _environment() { | 245 static _environment() { |
246 throw new UnsupportedError("Platform._environment"); | 246 throw new UnsupportedError("Platform._environment"); |
247 } | 247 } |
248 | 248 |
249 @patch | 249 @patch |
250 static String _version() { | 250 static String _version() { |
251 throw new UnsupportedError("Platform._version"); | 251 throw new UnsupportedError("Platform._version"); |
252 } | 252 } |
253 | |
254 @patch | |
255 static String _localeName() { | |
256 throw new UnsupportedError("Platform._localeName"); | |
257 } | |
vsm
2017/03/30 17:38:55
DBC
Can you add the same here as well?
https://g
zra
2017/03/30 17:48:38
It doesn't look like that's the right thing to do.
vsm
2017/03/30 18:00:14
It used to be. It is now applied against the bleed
zra
2017/03/30 18:08:19
No, it doesn't look like it. For example, _Platfor
zra
2017/03/30 19:09:47
Anyhow, I removed _Platform._ansiSupported and add
| |
253 } | 258 } |
254 | 259 |
255 @patch | 260 @patch |
256 class _ProcessUtils { | 261 class _ProcessUtils { |
257 @patch | 262 @patch |
258 static void _exit(int status) { | 263 static void _exit(int status) { |
259 throw new UnsupportedError("ProcessUtils._exit"); | 264 throw new UnsupportedError("ProcessUtils._exit"); |
260 } | 265 } |
261 | 266 |
262 @patch | 267 @patch |
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
589 } | 594 } |
590 } | 595 } |
591 | 596 |
592 @patch | 597 @patch |
593 class _IOService { | 598 class _IOService { |
594 @patch | 599 @patch |
595 static Future _dispatch(int request, List data) { | 600 static Future _dispatch(int request, List data) { |
596 throw new UnsupportedError("_IOService._dispatch"); | 601 throw new UnsupportedError("_IOService._dispatch"); |
597 } | 602 } |
598 } | 603 } |
OLD | NEW |