aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/tutorial/step_09.ngdoc
diff options
context:
space:
mode:
authorVojta Jina2011-11-11 17:15:22 -0800
committerMisko Hevery2011-11-14 20:31:19 -0800
commitacbd7cdf320f0570fcc1952c8680d4c78bc8fa2c (patch)
tree2483609ada03b9e6ff477596f0402dc24fdd7518 /docs/content/tutorial/step_09.ngdoc
parent035c7510763a9742294d51ba55aea0b6dd08ea58 (diff)
downloadangular.js-acbd7cdf320f0570fcc1952c8680d4c78bc8fa2c.tar.bz2
style(docs): make jslint happy - fix some warnings
Diffstat (limited to 'docs/content/tutorial/step_09.ngdoc')
-rw-r--r--docs/content/tutorial/step_09.ngdoc10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/content/tutorial/step_09.ngdoc b/docs/content/tutorial/step_09.ngdoc
index 6378b78e..c0df9e1f 100644
--- a/docs/content/tutorial/step_09.ngdoc
+++ b/docs/content/tutorial/step_09.ngdoc
@@ -25,11 +25,11 @@ GitHub}:
## Custom Filter
In order to create a new filter, simply register your custom filter function with the {@link
-api/angular.module.NG.$filter `angular.module.NG.$filter`} API.
+api/angular.module.ng.$filter `angular.module.ng.$filter`} API.
__`app/js/filters.js`:__
<pre>
-angular.module.NG.$filter('checkmark', function(input) {
+angular.module.ng.$filter('checkmark', function(input) {
return input ? '\u2713' : '\u2718';
});
</pre>
@@ -82,8 +82,8 @@ __`test/unit/filtersSpec.js`:__
describe('checkmark filter', function() {
it('should convert boolean values to unicode checkmark or cross', function() {
- expect(angular.module.NG.$filter.checkmark(true)).toBe('\u2713');
- expect(angular.module.NG.$filter.checkmark(false)).toBe('\u2718');
+ expect(angular.module.ng.$filter.checkmark(true)).toBe('\u2713');
+ expect(angular.module.ng.$filter.checkmark(false)).toBe('\u2718');
});
})
</pre>
@@ -99,7 +99,7 @@ output.
# Experiments
-* Let's experiment with some of the {@link api/angular.module.NG.$filter built-in angular filters} and add the
+* Let's experiment with some of the {@link api/angular.module.ng.$filter built-in angular filters} and add the
following bindings to `index.html`:
* `{{ "lower cap string" | uppercase }}`
* `{{ {foo: "bar", baz: 23} | json }}`