You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Documentation on hogan.js homepage (http://twitter.github.io/hogan.js/) assumes Array.prototoype.map mutates original array which is not true.
Note: Please move to the documentation (for homepage) repo if there is one. I could not find a one, so filing an issue on this repo.
This is a minor issue, but might confuse developers about Array.prototype.map.
Following won't work: console.log('Follow: ' + team.join(' ') + '!');
To correct the doc, result of team.map() call needs to be stored in a variable, and then join() should be called on that variable.
The text was updated successfully, but these errors were encountered:
g-patel
changed the title
Documentation on hogan.js homepage (http://twitter.github.io/hogan.js/) assumes Array.prototoype.map mutates original array which is not true.
Documentation on hogan.js homepage (http://twitter.github.io/hogan.js/) assumes Array.prototoype.map mutates original array
Aug 29, 2016
g-patel
changed the title
Documentation on hogan.js homepage (http://twitter.github.io/hogan.js/) assumes Array.prototoype.map mutates original array
Documentation on hogan.js homepage assumes Array.prototoype.map mutates original array
Aug 29, 2016
Documentation on hogan.js homepage (http://twitter.github.io/hogan.js/) assumes Array.prototoype.map mutates original array which is not true.
Note: Please move to the documentation (for homepage) repo if there is one. I could not find a one, so filing an issue on this repo.
This is a minor issue, but might confuse developers about
Array.prototype.map
.Following won't work:
console.log('Follow: ' + team.join(' ') + '!');
To correct the doc, result of
team.map()
call needs to be stored in a variable, and thenjoin()
should be called on that variable.The text was updated successfully, but these errors were encountered: