Skip to content

Commit ac58627

Browse files
authoredSep 20, 2016
Merge pull request #206 from pixel2/master
Unused reference to $document destroyes uglification
2 parents fab0e96 + 028bd43 commit ac58627

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed
 

‎dist/angular-toastr.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
angular.module('toastr', [])
55
.factory('toastr', toastr);
66

7-
toastr.$inject = ['$animate', '$injector', '$document', '$rootScope', '$sce', 'toastrConfig', '$q'];
7+
toastr.$inject = ['$animate', '$injector', '$rootScope', '$sce', 'toastrConfig', '$q'];
88

9-
function toastr($animate, $injector, $document, $rootScope, $sce, toastrConfig, $q) {
9+
function toastr($animate, $injector, $rootScope, $sce, toastrConfig, $q) {
1010
var container;
1111
var index = 0;
1212
var toasts = [];

‎dist/angular-toastr.tpls.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
angular.module('toastr', [])
55
.factory('toastr', toastr);
66

7-
toastr.$inject = ['$animate', '$injector', '$document', '$rootScope', '$sce', 'toastrConfig', '$q'];
7+
toastr.$inject = ['$animate', '$injector', '$rootScope', '$sce', 'toastrConfig', '$q'];
88

9-
function toastr($animate, $injector, $document, $rootScope, $sce, toastrConfig, $q) {
9+
function toastr($animate, $injector, $rootScope, $sce, toastrConfig, $q) {
1010
var container;
1111
var index = 0;
1212
var toasts = [];

‎src/toastr.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
angular.module('toastr', [])
55
.factory('toastr', toastr);
66

7-
toastr.$inject = ['$animate', '$injector', '$document', '$rootScope', '$sce', 'toastrConfig', '$q'];
7+
toastr.$inject = ['$animate', '$injector', '$rootScope', '$sce', 'toastrConfig', '$q'];
88

9-
function toastr($animate, $injector, $document, $rootScope, $sce, toastrConfig, $q) {
9+
function toastr($animate, $injector, $rootScope, $sce, toastrConfig, $q) {
1010
var container;
1111
var index = 0;
1212
var toasts = [];

0 commit comments

Comments
 (0)
Failed to load comments.