-
Philip Chimento authored
Instead of JS_NewObject(context, NULL) passing NULL for the JSClass pointer, use JS_NewPlainObject() when we want a blank object to fill in with properties. JS_NewPlainObject() is the same as "{}" or "new Object()" in Javascript. https://bugzilla.gnome.org/show_bug.cgi?id=781429
93a13dc8