mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 00:47:01 +00:00
feature(package) load -> load.js + @cloudcmd/create/element
This commit is contained in:
parent
8ab8adb400
commit
f20a781c0b
19 changed files with 89 additions and 354 deletions
|
|
@ -3,14 +3,14 @@
|
|||
/* global CloudCmd */
|
||||
|
||||
const exec = require('execon');
|
||||
const {promisify} = require('es6-promisify');
|
||||
const tryToCatch = require('try-to-catch/legacy');
|
||||
const {promisify} = require('es6-promisify');
|
||||
const loadJS = promisify(require('load.js').js);
|
||||
|
||||
const {
|
||||
kebabToCamelCase,
|
||||
} = require('../common/util');
|
||||
|
||||
const loadJS = promisify(require('./dom/load').js);
|
||||
|
||||
/**
|
||||
* function load modules
|
||||
* @params = {name, path, func, dobefore, arg}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue