diff options
| author | Vojta Jina | 2011-05-19 17:38:23 +0200 |
|---|---|---|
| committer | Igor Minar | 2011-05-19 09:43:56 -0700 |
| commit | 805e083c243655bfaed3c5431dc0f402cb27fcb4 (patch) | |
| tree | 5b5c85e0429a13da3d3d73265926984dc0663800 /src | |
| parent | 1abdc097b235366759a889bdcc68359653a9b8a3 (diff) | |
| download | angular.js-805e083c243655bfaed3c5431dc0f402cb27fcb4.tar.bz2 | |
Remove trailing white spaces from all source files
find . -name "*.js" -print | xargs sed -Ei s/[[:space:]]*$//
Diffstat (limited to 'src')
| -rw-r--r-- | src/widgets.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets.js b/src/widgets.js index 8caf0a7b..6aa0227c 100644 --- a/src/widgets.js +++ b/src/widgets.js @@ -837,16 +837,16 @@ angularWidget('a', function() { * * @description * The `ng:repeat` widget instantiates a template once per item from a collection. The collection is - * enumerated with the `ng:repeat-index` attribute, starting from 0. Each template instance gets - * its own scope, where the given loop variable is set to the current collection item, and `$index` + * enumerated with the `ng:repeat-index` attribute, starting from 0. Each template instance gets + * its own scope, where the given loop variable is set to the current collection item, and `$index` * is set to the item index or key. * * Special properties are exposed on the local scope of each template instance, including: * * * `$index` – `{number}` – iterator offset of the repeated element (0..length-1) - * * `$position` – `{string}` – position of the repeated element in the iterator. One of: + * * `$position` – `{string}` – position of the repeated element in the iterator. One of: * * `'first'`, - * * `'middle'` + * * `'middle'` * * `'last'` * * Note: Although `ng:repeat` looks like a directive, it is actually an attribute widget. |
