[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Release Build Issues

  • Thread starter Thread starter Radoslav Kirilov
  • Start date Start date
Status
Not open for further replies.
R

Radoslav Kirilov

Guest
Hi Louis, The problem is caused by dependency injection and magnification of the code in release mode from the jtsNavigation.module.js file. You have : var resolveTemplate = ($q, jtslibService, $state) => { However the $q, jtslibService, $state are not injected in strict mode. So when the code for release is produced and it is minified and obfuscated the services names are replaced with shorter names. More info you can find here: Declaring AngularJS Modules For Minification To fix the problem you can add: resolveTemplate.$inject = ['$q', 'jtslibService', '$state']; Best, Rado

Continue reading...
 
Status
Not open for further replies.
Back
Top