Skip to content

Commit 5876978

Browse files
author
Randi Thomas
committed
fixed minification issue in provider $get $http injection
1 parent ad8345a commit 5876978

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-apm",
33
"main": "angular-apm.js",
4-
"version": "0.1.2",
4+
"version": "0.1.3",
55
"homepage": "https://github.com/randith/angular-apm",
66
"authors": [
77
"randith <randi.l.thom@gmail.com>"

dist/angular-apm.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-apm",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "angular module for application performance monitoring",
55
"main": "angular-apm.js",
66
"directories": {

src/angular-apm.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
angular.extend(options, newOptions);
7575
};
7676

77-
this.$get = function($http) {
77+
this.$get = ['$http', function($http) {
7878

7979
function perfGoodness() {}
8080

@@ -198,7 +198,7 @@
198198

199199
return perfGoodness;
200200

201-
};
201+
}];
202202

203203
})
204204
;

0 commit comments

Comments
 (0)