8
0

load__esnext.js 337 B

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