Index: runtime/lib/uri_patch.dart |
diff --git a/runtime/lib/uri_patch.dart b/runtime/lib/uri_patch.dart |
index b07946d190d276da4dabe4f85cd104a1e05475a5..2a7c1cc33bed6dd23284ffb398ee9ecec8840956 100644 |
--- a/runtime/lib/uri_patch.dart |
+++ b/runtime/lib/uri_patch.dart |
@@ -6,7 +6,10 @@ |
patch class Uri { |
static final bool _isWindowsCached = _isWindowsPlatform; |
- static bool get _isWindowsPlatform native "Uri_isWindowsPlatform"; |
- |
/* patch */ static bool get _isWindows => _isWindowsCached; |
+ |
+ /* patch */ static Uri get base => new Uri.file(_currentDirectory() + "/"); |
+ |
+ static bool get _isWindowsPlatform native "Uri_isWindowsPlatform"; |
+ static _currentDirectory() native "Uri_currentDirectory"; |
} |