[mw-devel] [Git][arthur/mw][master] Fix delete mw.command.foo

Andrew Price welshbyte at sucs.org
Fri Dec 7 10:17:22 GMT 2018


Andrew Price pushed to branch master at Justin Mitchell / mw


Commits:
4dd8cd35 by Andrew Price at 2018-12-07T10:16:39Z
Fix delete mw.command.foo

- - - - -


1 changed file:

- src/client/js-duk.c


Changes:

=====================================
src/client/js-duk.c
=====================================
@@ -1149,7 +1149,7 @@ static duk_ret_t js_command_set(duk_context *cx)
 	duk_push_this(cx); /* Target object */
 	duk_dup(cx, 1); /* Command name */
 	duk_dup(cx, 2); /* Handler */
-	duk_def_prop(cx, -3, DUK_DEFPROP_HAVE_VALUE);
+	duk_def_prop(cx, -3, DUK_DEFPROP_HAVE_VALUE|DUK_DEFPROP_SET_CONFIGURABLE);
 	return 0;
 }
 



View it on GitLab: https://projects.sucs.org/arthur/mw/commit/4dd8cd357a80b523db93270e5858ef89becb9d7d

-- 
View it on GitLab: https://projects.sucs.org/arthur/mw/commit/4dd8cd357a80b523db93270e5858ef89becb9d7d
You're receiving this email because of your account on projects.sucs.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/mw-devel/attachments/20181207/eb10bd09/attachment.html>


More information about the mw-devel mailing list