From acbd7cdf320f0570fcc1952c8680d4c78bc8fa2c Mon Sep 17 00:00:00 2001 From: Vojta Jina Date: Fri, 11 Nov 2011 17:15:22 -0800 Subject: style(docs): make jslint happy - fix some warnings --- example/buzz/buzz.js | 2 +- example/personalLog/test/personalLogSpec.js | 2 +- example/temp.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'example') diff --git a/example/buzz/buzz.js b/example/buzz/buzz.js index 40622369..7e7f2f66 100644 --- a/example/buzz/buzz.js +++ b/example/buzz/buzz.js @@ -1,4 +1,4 @@ -angular.module.NG('myApplication', function($resource){ +angular.module.ng('myApplication', function($resource){ this.Activity = $resource( 'https://www.googleapis.com/buzz/v1/activities/:userId/:visibility/:activityId/:comments', {alt:'json', callback:'JSON_CALLBACK'}, diff --git a/example/personalLog/test/personalLogSpec.js b/example/personalLog/test/personalLogSpec.js index 5e3a8409..e103d06d 100644 --- a/example/personalLog/test/personalLogSpec.js +++ b/example/personalLog/test/personalLogSpec.js @@ -2,7 +2,7 @@ describe('example.personalLog.LogCtrl', function() { var logCtrl; function createNotesCtrl() { - var injector = angular.injector('NG', 'NG_MOCK'); + var injector = angular.injector('ng', 'ngMock'); var scope = injector('$rootScope'); scope.$cookies = injector('$cookies'); return scope.$new(example.personalLog.LogCtrl); diff --git a/example/temp.html b/example/temp.html index bdcb4094..7c46eb7f 100644 --- a/example/temp.html +++ b/example/temp.html @@ -4,7 +4,7 @@