forked from cory/tildefriends
Blocking and some random attempts to make things faster.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3843 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -393,7 +393,7 @@ static JSValue _import_call(JSContext* context, JSValueConst func_obj, JSValueCo
|
||||
import->_useCount++;
|
||||
|
||||
JSValue array = JS_NewArray(context);
|
||||
JS_SetPropertyUint32(context, array, 0, JS_DupValue(context, this_val));
|
||||
JS_SetPropertyUint32(context, array, 0, JS_UNDEFINED);
|
||||
for (int i = 0; i < argc; ++i)
|
||||
{
|
||||
JS_SetPropertyUint32(context, array, i + 1, JS_DupValue(context, argv[i]));
|
||||
|
Reference in New Issue
Block a user