Created
February 14, 2017 05:16
-
-
Save arackaf/14893f405ce7405e4e52c2400f8ac6f4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let modulePromise = (() => { | |
| switch(module.toLowerCase()){ | |
| case 'activate': return (System.import('./modules/activate/activate')); | |
| case 'authenticate': return (System.import('./modules/authenticate/authenticate')); | |
| case 'books': return (System.import('./modules/books/books')); | |
| case 'home': return (System.import('./modules/home/home')); | |
| case 'scan': return (System.import('./modules/scan/scan')); | |
| case 'subjects': return (System.import('./modules/subjects/subjects')); | |
| } | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment