Skip to content

added 'split' pipe that was missing, and fixed broken loops #1

Merged
mattparlane merged 3 commits into
wbgs:masterfrom
ideasmashup:master
Apr 3, 2013
Merged

added 'split' pipe that was missing, and fixed broken loops #1
mattparlane merged 3 commits into
wbgs:masterfrom
ideasmashup:master

Conversation

@ideasmashup
Copy link
Copy Markdown

For some reason the 'split' pipe was missing from the core pipes, so I added it.

I also contributed a fix for broken loops when using pipes that convert variables into arrays (I'm currently relying on this for a bunch of custom pipes and using 'split' as well in a project)

Same patch for Markup.js here : adammark/Markup.js#19

…ped on like described in README example "{{names|split:;}} {{.}} {{/names}}"

see : Markup.js README ('split' pipe documentation)
mattparlane added a commit that referenced this pull request Apr 3, 2013
added 'split' pipe that was missing, and fixed broken loops
@mattparlane mattparlane merged commit 710f370 into wbgs:master Apr 3, 2013
@mattparlane
Copy link
Copy Markdown
Member

Looks great, thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants