Chromium Code Reviews| Index: runtime/lib/string_patch.dart |
| =================================================================== |
| --- runtime/lib/string_patch.dart (revision 27984) |
| +++ runtime/lib/string_patch.dart (working copy) |
| @@ -6,6 +6,9 @@ |
| /* patch */ factory String.fromCharCodes(Iterable<int> charCodes) { |
| return _StringBase.createFromCharCodes(charCodes); |
| } |
| + |
| + /* patch */ const factory String.env(String name, String defaultValue) |
|
floitsch
2013/09/27 13:52:31
[String defaultValue = ""]
Ivan Posva
2013/09/27 21:05:06
ditto.
|
| + native "String_env"; |
| } |