caldwell/JSML — pull request #3 by ChALkeR (2014-11-07 00:18:39+00:00)
Title: Nesting

This includes #2.

New from #2: move helper functions out of jsml.dom, support deep nesting in Arrays: `["ul", [$("
1
"), $("
2
"), $("
3
"), [$("
4
"), $("
5
"), $("
6
"), [$("
7
"), $("
8
"), $("
9
")]]]]`.

Not sure if this (deep nesting) is actually needed, but this change makes the code a bit cleaner and removes copy-pasted parts.

One more change: a `hasOwnProperty()` check was added to the `for … in …` loop.