Index: lib/runtime/dart_runtime.js |
diff --git a/lib/runtime/dart_runtime.js b/lib/runtime/dart_runtime.js |
index 4dd786854bbc73cbf361ae368de82cd4a0757c5c..cd8ac458821d44ae17e01f0a7aa251e514367b07 100644 |
--- a/lib/runtime/dart_runtime.js |
+++ b/lib/runtime/dart_runtime.js |
@@ -967,7 +967,8 @@ var dart, _js_helper, _js_primitives; |
dart.JsSymbol = Symbol; |
function import_(value) { |
- if (!value) throw 'missing required module'; |
+ // TODO(jmesserly): throw once we're loading all of core libs. |
+ if (!value && console) console.warn('missing required module'); |
return value; |
} |
dart.import = import_; |