Skip to content

Commit f165e08

Browse files
pomerantsevmatsko
authored andcommitted
refactor(bootstrap): remove an unused argument
The $animate service is injected, but not used within the code anymore. Closes angular#7649
1 parent 222d473 commit f165e08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Angular.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1425,8 +1425,8 @@ function bootstrap(element, modules, config) {
14251425
}]);
14261426
modules.unshift('ng');
14271427
var injector = createInjector(modules, config.strictDi);
1428-
injector.invoke(['$rootScope', '$rootElement', '$compile', '$injector', '$animate',
1429-
function(scope, element, compile, injector, animate) {
1428+
injector.invoke(['$rootScope', '$rootElement', '$compile', '$injector',
1429+
function(scope, element, compile, injector) {
14301430
scope.$apply(function() {
14311431
element.data('$injector', injector);
14321432
compile(element)(scope);

0 commit comments

Comments
 (0)