ajbrown / angular-loggly-logger

An AngularJS module which sends your $log message to loggly, and provides a service for manually sending messages to loggly.
MIT License
32 stars 49 forks source link

Module could not get injected after Uglifying #60

Open SidMorad opened 8 years ago

SidMorad commented 8 years ago

This is current code and not working after uglify task:

; (function( angular ) {
  "use strict";

  angular.module( 'logglyLogger.logger', [] )
...
...
  }]);

})(window.angular);

But this one works:

  "use strict";

  angular.module( 'logglyLogger.logger', [] )
...
...
  }]);

It seems first line and last line are not necessary, Could this get fixed in next version ? So we could use logglyLogger as a bower dependency.

p.s. if matters grunt-contrib-uglify version 0.10.1 was used.