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