Famous / Famous/framework

$repeat doesn't use array.length

Open
#39 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
394
Forks
62
PR merge metrics
No merged PRs in 30d

Description

Not sure if a mistake in documentation or a bug.

The documentation say that `$repeat` "reflects the .length of the array" https://github.com/Famous/framework-guides/blob/develop/control-flow.md

But:

```
'.el': {
'$repeat': function() {
var arr = new Array(3);
return arr;
}
}
```

Results in no elements being repeated.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.