8000 refactor(bootstrap): remove an unused argument by pomerantsev · Pull Request #7649 · angular/angular.js · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

refactor(bootstrap): remove an unused argument #7649

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
refactor(bootstrap): remove an unused argument
$animate not used in this function anymore.
  • Loading branch information
pomerantsev committed May 31, 2014
commit 784b19a833250260bcb9c25523d29ee6ddada3ed
4 changes: 2 additions & 2 deletions src/Angular.js
Original file line number Diff line number Diff line change
Expand Up @@ -1395,8 +1395,8 @@ function bootstrap(element, modules, config) {
}]);
modules.unshift('ng');
var injector = createInjector(modules, config.strictDi);
injector.invoke(['$rootScope', '$rootElement', '$compile', '$injector', '$animate',
function(scope, element, compile, injector, animate) {
injector.invoke(['$rootScope', '$rootElement', '$compile', '$injector',
function(scope, element, compile, injector) {
scope.$apply(function() {
element.data('$injector', injector);
compile(element)(scope);
Expand Down
0