angular-areas icon indicating copy to clipboard operation
angular-areas copied to clipboard

Problem in minification

Open jesussaad opened this issue 7 years ago • 3 comments

Error after minification.

Just change the controller : function($scope, $element, $attrs) {

for controller : ['$scope', '$element', '$attrs', function($scope, $element, $attrs) {

and in line 903 change to: }],

jesussaad avatar Jun 09 '17 13:06 jesussaad

Hi, thanks for the comments. Is this an error? and the solution? can you provide more details?

delkant avatar Jun 13 '17 23:06 delkant

Hi! This is a error. After the minification provided my maven process, an error occurs. To solve that just change the code in angular-areas.js (line 9) controller : function($scope, $element, $attrs) {

for controller : ['$scope', '$element', '$attrs', function($scope, $element, $attrs) {

and in line 903 change to: }],

jesussaad avatar Jun 14 '17 12:06 jesussaad

OK, thank you, I will test this and make the changes.

delkant avatar Jun 14 '17 12:06 delkant