8
0

load__esnext.js 326 B

12345678910111213141516
  1. /**
  2. * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md.
  4. */
  5. /* global System */
  6. export default function load( modulePath ) {
  7. modulePath = '../../' + modulePath;
  8. return System
  9. .import( modulePath )
  10. .then( ( module ) => {
  11. return module;
  12. } );
  13. }