voldsoftware/menuitems-jplib — pull request #3 by mykmelez (2012-09-12 21:50:51+00:00)
Title: add insertbefore to options validator

`insertbefore` is broken again because it isn't listed in the options validator. Here's the fix.

Note: I include `object` in the list of possible types because insertBefore() just returns its `insertBefore` argument if it isn't a number or a string, implying that it can be some other value.