Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(interimElement): use angular.extend
Browse files Browse the repository at this point in the history
AngularJS 1.3.x does not support `angular.merge`

Fixes #4683.
  • Loading branch information
ThomasBurleson committed Sep 17, 2015
1 parent d75d021 commit bfb8dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/services/interimElement/interimElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ function InterimElementProvider() {
* - perform optional clean up scope.
*/
function transitionOutAndRemove(response, isCancelled, opts) {
options = angular.merge(options || {}, opts || {});
options = angular.extend(options || {}, opts || {});
options.cancelAutoHide && options.cancelAutoHide();
options.element.triggerHandler('$mdInterimElementRemove');

Expand Down

0 comments on commit bfb8dac

Please sign in to comment.