details: http://hg.nginx.org/njs/rev/eb2caababd77 branches: changeset: 506:eb2caababd77 user: Dmitry Volyntsev <xei...@nginx.com> date: Thu Apr 26 19:20:04 2018 +0300 description: Improved variable names in Object.isPrototypeOf().
diffstat: njs/njs_object.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diffs (25 lines): diff -r e7878051e75d -r eb2caababd77 njs/njs_object.c --- a/njs/njs_object.c Thu Apr 26 19:11:29 2018 +0300 +++ b/njs/njs_object.c Thu Apr 26 19:20:04 2018 +0300 @@ -1531,15 +1531,15 @@ njs_object_prototype_is_prototype_of(njs nxt_uint_t nargs, njs_index_t unused) { njs_object_t *object, *proto; - const njs_value_t *value, *obj, *retval; + const njs_value_t *prototype, *value, *retval; retval = &njs_value_false; - value = &args[0]; - obj = njs_arg(args, nargs, 1); + prototype = &args[0]; + value = njs_arg(args, nargs, 1); - if (njs_is_object(value) && njs_is_object(obj)) { - proto = value->data.u.object; - object = obj->data.u.object; + if (njs_is_object(prototype) && njs_is_object(value)) { + proto = prototype->data.u.object; + object = value->data.u.object; do { object = object->__proto__; _______________________________________________ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel