minimificado
This commit is contained in:
parent
3b8c0d52b6
commit
ea70fecf35
|
@ -4,8 +4,7 @@ import * as deps from './spliting/deps.json';
|
|||
|
||||
|
||||
function loader(module) {
|
||||
|
||||
return function load($ocLazyLoad, $q){
|
||||
function load($ocLazyLoad, $q){
|
||||
return $q((resolve) => {
|
||||
core.splitingRegister.execute(module).then(function (dependencies) {
|
||||
var array = dependencies.map((item) => { return { name: item } });
|
||||
|
@ -15,6 +14,7 @@ function loader(module) {
|
|||
|
||||
}
|
||||
load.$inject = ['$ocLazyLoad', '$q'];
|
||||
return load;
|
||||
}
|
||||
|
||||
function getParams(route) {
|
||||
|
|
Loading…
Reference in New Issue