From 805e083c243655bfaed3c5431dc0f402cb27fcb4 Mon Sep 17 00:00:00 2001 From: Vojta Jina Date: Thu, 19 May 2011 17:38:23 +0200 Subject: Remove trailing white spaces from all source files find . -name "*.js" -print | xargs sed -Ei s/[[:space:]]*$// --- src/widgets.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/widgets.js') 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. -- cgit v1.2.3