Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module could not get injected after Uglifying #60

Open
SidMorad opened this issue Aug 31, 2016 · 0 comments
Open

Module could not get injected after Uglifying #60

SidMorad opened this issue Aug 31, 2016 · 0 comments

Comments

@SidMorad
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant