Skip to content

Commit 12fd389

Browse files
committed
Remove some trailing whitespace (documentcloud#199)
1 parent d6f6dda commit 12fd389

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docs/underscore.array.builders.js.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### array.builders
1+
### array.builders
22

33
> Functions to build arrays. <a href="docs/underscore.array.builders.js.html" class="btn btn-primary btn-xs">View Annotated Source</a>
44
@@ -198,7 +198,7 @@ That is, the array only contains every number from `5` down to `1` because when
198198
The `_.keepIndexed` function takes an array and a function and returns a new array filled with the *non-null* return results of the given function on the elements or keys in the given array:
199199

200200
```javascript
201-
_.keepIndexed([1,2,3], function(k) {
201+
_.keepIndexed([1,2,3], function(k) {
202202
return i === 1 || i === 2;
203203
});
204204

@@ -208,8 +208,8 @@ _.keepIndexed([1,2,3], function(k) {
208208
If you return either `null` or `undefined` then the result is dropped from the resulting array:
209209

210210
```javascript
211-
_.keepIndexed(['a','b','c'], function(k, v) {
212-
if (k === 1) return v;
211+
_.keepIndexed(['a','b','c'], function(k, v) {
212+
if (k === 1) return v;
213213
});
214214

215215
//=> ['b']
@@ -291,7 +291,7 @@ _.splitAt([1,2,3,4,5], 20000);
291291
//=> [[1,2,3,4,5],[]]
292292

293293
_.splitAt([1,2,3,4,5], -1000);
294-
//=> [[],[1,2,3,4,5]]
294+
//=> [[],[1,2,3,4,5]]
295295

296296
_.splitAt([], 0);
297297
//=> [[],[]]

0 commit comments

Comments
 (0)