details: http://hg.nginx.org/njs/rev/e4a0f80610b2
branches:
changeset: 118:e4a0f80610b2
user: Igor Sysoev <igor@sysoev.ru>
date: Fri Jul 08 18:13:00 2016 +0300
description:
Needless argument checkers for String.toLowerCase()
and String.toUpperCase() have been removed.
diffstat:
njs/njs_string.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 6888c62477a0 -r e4a0f80610b2 njs/njs_string.c
--- a/njs/njs_string.c Fri Jul 08 18:07:57 2016 +0300
+++ b/njs/njs_string.c Fri Jul 08 18:13:00 2016 +0300
@@ -2075,14 +2075,14 @@ static const njs_object_prop_t njs_stri
.type = NJS_METHOD,
.name = njs_string("toLowerCase"),
.value = njs_native_function(njs_string_prototype_to_lower_case, 0,
- NJS_STRING_OBJECT_ARG, NJS_REGEXP_ARG),
+ NJS_STRING_OBJECT_ARG),
},
{
.type = NJS_METHOD,
.name = njs_string("toUpperCase"),
.value = njs_native_function(njs_string_prototype_to_upper_case, 0,
- NJS_STRING_OBJECT_ARG, NJS_REGEXP_ARG),
+ NJS_STRING_OBJECT_ARG),
},
{
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel