Skip to content

Conversation

@keithl8041
Copy link

I've seen this covered off in another more complicated pull request which is still awaiting merging, so thought I'd get this in there as it would have saved me some time when integrating this module.

Simply adds explicit annotations to run .run call to allow strict mode.

})

.run(function($rootScope, $route, $location, insights) {
.run(['$rootScope', '$route', '$location', 'insights', function ($rootScope, $route, $location, insights) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't this also then require a closing ] somewhere?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good spot. Now added.

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

Successfully merging this pull request may close these issues.

2 participants