From c7f1f04a75979687c7d259a0110c089fe9a117fa Mon Sep 17 00:00:00 2001 From: Alexander Marks Date: Tue, 12 Jun 2018 13:16:56 -0700 Subject: [PATCH 1/4] Format esm-amd-loader. --- packages/esm-amd-loader/src/esm-amd-loader.ts | 32 +++++++++++-------- packages/esm-amd-loader/test/src/suite.ts | 30 ++++++++++------- 2 files changed, 36 insertions(+), 26 deletions(-) diff --git a/packages/esm-amd-loader/src/esm-amd-loader.ts b/packages/esm-amd-loader/src/esm-amd-loader.ts index 8f4f8bd14..68c17dabe 100644 --- a/packages/esm-amd-loader/src/esm-amd-loader.ts +++ b/packages/esm-amd-loader/src/esm-amd-loader.ts @@ -16,7 +16,8 @@ interface Window { define: ((deps: string[], moduleBody: OnExecutedCallback) => void)&{ _reset?: () => void; }; - HTMLImports?: { importForElement: (element: Element) => HTMLLinkElement | undefined }; + HTMLImports?: + {importForElement: (element: Element) => HTMLLinkElement | undefined}; } type OnExecutedCallback = (...args: Array<{}>) => void; @@ -268,9 +269,9 @@ function loadDeps( args.push({ // We append "#