DigitPaint / roger

Roger is your friendly front-end development toolbox!
MIT License
4 stars 4 forks source link

Allow up to 10 levels deep of recursion #62

Closed edwinvdgraaf closed 8 years ago

edwinvdgraaf commented 8 years ago

While the prevent_recursion! is in general very usefull. Recursive templates can be usefull for example with building menu that are made up with nested lists. This changes supports up to 10 level deep nesting.

edwinvdgraaf commented 8 years ago

@flurin Mind having a look once you have time on your hands? See also my comment. :)

flurin commented 8 years ago

Can you add a testcase for the breakage after 10 levels of recursion?

edwinvdgraaf commented 8 years ago

Updated it.