Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(980)

Unified Diff: sky/specs/apis.md

Issue 743503002: Specs: Provide a debug-mode-only API to expose the Module objects imported by a Module, for use by … (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/specs/apis.md
diff --git a/sky/specs/apis.md b/sky/specs/apis.md
index 82ce195e528fc6495b57f110c10b68de4bff25d0..0e559d3c53e7e42f6bfac06a760d767adb66a699 100644
--- a/sky/specs/apis.md
+++ b/sky/specs/apis.md
@@ -283,6 +283,7 @@ module 'sky:core' {
abstract class AbstractModule : EventTarget {
readonly attribute Document document; // O(1) // the Documentof the module or application
Promise<any> import(String url); // O(Yikes) // returns the module's exports
+ private Array<Module> getImports(); O(N) // returns the Module objects of all the imported modules
readonly attribute String url;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698