aboutsummaryrefslogtreecommitdiffstats
path: root/docs/component-spec/annotationsSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'docs/component-spec/annotationsSpec.js')
-rw-r--r--docs/component-spec/annotationsSpec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/component-spec/annotationsSpec.js b/docs/component-spec/annotationsSpec.js
index 7dd5b696..edc458cd 100644
--- a/docs/component-spec/annotationsSpec.js
+++ b/docs/component-spec/annotationsSpec.js
@@ -68,7 +68,7 @@ describe('Docs Annotations', function() {
var $scope, parent, element, url, window;
beforeEach(function() {
module(function($provide, $animateProvider) {
- $provide.value('$window', window = angular.mock.createMockWindow());
+ $provide.value('$window', window = createMockWindow());
$animateProvider.register('.foldout', function($timeout) {
return {
enter : function(element, done) {
@@ -161,7 +161,7 @@ describe('Docs Annotations', function() {
var window, $scope, ctrl;
beforeEach(function() {
module(function($provide, $animateProvider) {
- $provide.value('$window', window = angular.mock.createMockWindow());
+ $provide.value('$window', window = createMockWindow());
});
inject(function($rootScope, $controller, $location, $cookies, sections) {
$scope = $rootScope.$new();