minimificado

This commit is contained in:
nelo 2016-12-14 09:03:39 +01:00
parent 3b8c0d52b6
commit ea70fecf35
1 changed files with 2 additions and 2 deletions

View File

@ -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) {