From cd7361bb96f11541222a2947c82a4fb09e5fa99c Mon Sep 17 00:00:00 2001 From: PhilKunz Date: Wed, 12 Oct 2016 14:15:27 +0200 Subject: [PATCH] improve README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 409eacf..07dca45 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ import * as _myPlugin from 'myPlugin' // plugin does not get loaded here at runt let myPluginLazy = new LazyModule('myPlugin') import * as _anotherPlugin from 'anotherPlugin' // plugin does not get loaded here at runtime -let anotherPluginPromised = LazyModule('anotherPlugin') +let anotherPluginLazy = new LazyModule('anotherPlugin') myPluginLazy.whenLoaded.then(myPlugin => { /* do something with myPlugin.