From bc824f36fe21b6e0aa0981301f0916a7bf31e223 Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Wed, 12 Nov 2014 13:29:14 -0800 Subject: [PATCH] Script-based imports should basically work This CL adds the beginning of a new module loading system that matches the conceptual module in the spec. I've writed it up to the import API on AbstractModule. In a future CL, I'll replace the old module loading system with this one. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/720903002 --- engine/src/flutter/tests/modules/script-import-expected.txt | 1 + engine/src/flutter/tests/modules/script-import.sky | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 engine/src/flutter/tests/modules/script-import-expected.txt create mode 100644 engine/src/flutter/tests/modules/script-import.sky diff --git a/engine/src/flutter/tests/modules/script-import-expected.txt b/engine/src/flutter/tests/modules/script-import-expected.txt new file mode 100644 index 0000000000..e6cb5471af --- /dev/null +++ b/engine/src/flutter/tests/modules/script-import-expected.txt @@ -0,0 +1 @@ +PASS: pass.sky succesfully exported this string. diff --git a/engine/src/flutter/tests/modules/script-import.sky b/engine/src/flutter/tests/modules/script-import.sky new file mode 100644 index 0000000000..17e0870ae0 --- /dev/null +++ b/engine/src/flutter/tests/modules/script-import.sky @@ -0,0 +1,5 @@ +