aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorVojta Jina2011-11-11 17:15:22 -0800
committerMisko Hevery2011-11-14 20:31:19 -0800
commitacbd7cdf320f0570fcc1952c8680d4c78bc8fa2c (patch)
tree2483609ada03b9e6ff477596f0402dc24fdd7518 /example
parent035c7510763a9742294d51ba55aea0b6dd08ea58 (diff)
downloadangular.js-acbd7cdf320f0570fcc1952c8680d4c78bc8fa2c.tar.bz2
style(docs): make jslint happy - fix some warnings
Diffstat (limited to 'example')
-rw-r--r--example/buzz/buzz.js2
-rw-r--r--example/personalLog/test/personalLogSpec.js2
-rw-r--r--example/temp.html2
3 files changed, 3 insertions, 3 deletions
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 @@
<title>angular dev sandbox</title>
<script src="../src/angular-bootstrap.js" ng:autobind></script>
<script>
- angular.module.NG('routeConfig', function($route) {
+ angular.module.ng('routeConfig', function($route) {
$route.when('/view1', {controller: MyCtrl, template: 'view1.html'});
$route.when('/view2', {controller: MyCtrl, template: 'view2.html'});