mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-29 03:17:53 -04:00
SMJS: comment changes
[ Backported from commit 9743729cb1
in
ELinks 0.12.GIT. --KON ]
This commit is contained in:
parent
59b8eeb7fb
commit
c16a37a9ad
@ -162,8 +162,8 @@ document_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
||||
astring_to_jsval(ctx, vp, get_uri_string(document->uri, URI_ORIGINAL));
|
||||
break;
|
||||
default:
|
||||
/* Unrecognized property ID; someone is using the
|
||||
* object as an array. SMJS builtin classes (e.g.
|
||||
/* Unrecognized integer property ID; someone is using
|
||||
* the object as an array. SMJS builtin classes (e.g.
|
||||
* js_RegExpClass) just return JS_TRUE in this case
|
||||
* and leave *@vp unchanged. Do the same here.
|
||||
* (Actually not quite the same, as we already used
|
||||
|
@ -260,8 +260,8 @@ input_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
||||
break;
|
||||
|
||||
default:
|
||||
/* Unrecognized property ID; someone is using the
|
||||
* object as an array. SMJS builtin classes (e.g.
|
||||
/* Unrecognized integer property ID; someone is using
|
||||
* the object as an array. SMJS builtin classes (e.g.
|
||||
* js_RegExpClass) just return JS_TRUE in this case
|
||||
* and leave *@vp unchanged. Do the same here.
|
||||
* (Actually not quite the same, as we already used
|
||||
@ -364,8 +364,8 @@ input_set_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
||||
break;
|
||||
|
||||
default:
|
||||
/* Unrecognized property ID; someone is using the
|
||||
* object as an array. SMJS builtin classes (e.g.
|
||||
/* Unrecognized integer property ID; someone is using
|
||||
* the object as an array. SMJS builtin classes (e.g.
|
||||
* js_RegExpClass) just return JS_TRUE in this case.
|
||||
* Do the same here. */
|
||||
return JS_TRUE;
|
||||
@ -913,8 +913,8 @@ form_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
||||
break;
|
||||
|
||||
default:
|
||||
/* Unrecognized property ID; someone is using the
|
||||
* object as an array. SMJS builtin classes (e.g.
|
||||
/* Unrecognized integer property ID; someone is using
|
||||
* the object as an array. SMJS builtin classes (e.g.
|
||||
* js_RegExpClass) just return JS_TRUE in this case
|
||||
* and leave *@vp unchanged. Do the same here.
|
||||
* (Actually not quite the same, as we already used
|
||||
@ -995,8 +995,8 @@ form_set_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
||||
break;
|
||||
|
||||
default:
|
||||
/* Unrecognized property ID; someone is using the
|
||||
* object as an array. SMJS builtin classes (e.g.
|
||||
/* Unrecognized integer property ID; someone is using
|
||||
* the object as an array. SMJS builtin classes (e.g.
|
||||
* js_RegExpClass) just return JS_TRUE in this case.
|
||||
* Do the same here. */
|
||||
break;
|
||||
|
@ -171,8 +171,8 @@ location_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
||||
astring_to_jsval(ctx, vp, get_uri_string(vs->uri, URI_ORIGINAL));
|
||||
break;
|
||||
default:
|
||||
/* Unrecognized property ID; someone is using the
|
||||
* object as an array. SMJS builtin classes (e.g.
|
||||
/* Unrecognized integer property ID; someone is using
|
||||
* the object as an array. SMJS builtin classes (e.g.
|
||||
* js_RegExpClass) just return JS_TRUE in this case
|
||||
* and leave *@vp unchanged. Do the same here.
|
||||
* (Actually not quite the same, as we already used
|
||||
|
@ -134,8 +134,8 @@ navigator_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
||||
}
|
||||
break;
|
||||
default:
|
||||
/* Unrecognized property ID; someone is using the
|
||||
* object as an array. SMJS builtin classes (e.g.
|
||||
/* Unrecognized integer property ID; someone is using
|
||||
* the object as an array. SMJS builtin classes (e.g.
|
||||
* js_RegExpClass) just return JS_TRUE in this case
|
||||
* and leave *@vp unchanged. Do the same here.
|
||||
* (Actually not quite the same, as we already used
|
||||
|
@ -121,8 +121,8 @@ unibar_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
||||
#undef unibar_fetch
|
||||
break;
|
||||
default:
|
||||
/* Unrecognized property ID; someone is using the
|
||||
* object as an array. SMJS builtin classes (e.g.
|
||||
/* Unrecognized integer property ID; someone is using
|
||||
* the object as an array. SMJS builtin classes (e.g.
|
||||
* js_RegExpClass) just return JS_TRUE in this case
|
||||
* and leave *@vp unchanged. Do the same here. */
|
||||
break;
|
||||
@ -175,8 +175,8 @@ unibar_set_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
||||
register_bottom_half(update_status, NULL);
|
||||
break;
|
||||
default:
|
||||
/* Unrecognized property ID; someone is using the
|
||||
* object as an array. SMJS builtin classes (e.g.
|
||||
/* Unrecognized integer property ID; someone is using
|
||||
* the object as an array. SMJS builtin classes (e.g.
|
||||
* js_RegExpClass) just return JS_TRUE in this case.
|
||||
* Do the same here. */
|
||||
return JS_TRUE;
|
||||
|
@ -230,8 +230,8 @@ found_parent:
|
||||
break;
|
||||
}
|
||||
default:
|
||||
/* Unrecognized property ID; someone is using the
|
||||
* object as an array. SMJS builtin classes (e.g.
|
||||
/* Unrecognized integer property ID; someone is using
|
||||
* the object as an array. SMJS builtin classes (e.g.
|
||||
* js_RegExpClass) just return JS_TRUE in this case
|
||||
* and leave *@vp unchanged. Do the same here.
|
||||
* (Actually not quite the same, as we already used
|
||||
@ -275,8 +275,8 @@ window_set_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
||||
|
||||
switch (JSVAL_TO_INT(id)) {
|
||||
default:
|
||||
/* Unrecognized property ID; someone is using the
|
||||
* object as an array. SMJS builtin classes (e.g.
|
||||
/* Unrecognized integer property ID; someone is using
|
||||
* the object as an array. SMJS builtin classes (e.g.
|
||||
* js_RegExpClass) just return JS_TRUE in this case.
|
||||
* Do the same here. */
|
||||
return JS_TRUE;
|
||||
|
@ -112,8 +112,8 @@ bookmark_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
||||
|
||||
return JS_TRUE;
|
||||
default:
|
||||
/* Unrecognized property ID; someone is using the
|
||||
* object as an array. SMJS builtin classes (e.g.
|
||||
/* Unrecognized integer property ID; someone is using
|
||||
* the object as an array. SMJS builtin classes (e.g.
|
||||
* js_RegExpClass) just return JS_TRUE in this case
|
||||
* and leave *@vp unchanged. Do the same here.
|
||||
* (Actually not quite the same, as we already used
|
||||
@ -160,8 +160,8 @@ bookmark_set_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
||||
return JS_TRUE;
|
||||
}
|
||||
default:
|
||||
/* Unrecognized property ID; someone is using the
|
||||
* object as an array. SMJS builtin classes (e.g.
|
||||
/* Unrecognized integer property ID; someone is using
|
||||
* the object as an array. SMJS builtin classes (e.g.
|
||||
* js_RegExpClass) just return JS_TRUE in this case.
|
||||
* Do the same here. */
|
||||
return JS_TRUE;
|
||||
|
@ -87,8 +87,8 @@ cache_entry_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
||||
|
||||
return JS_TRUE;
|
||||
default:
|
||||
/* Unrecognized property ID; someone is using the
|
||||
* object as an array. SMJS builtin classes (e.g.
|
||||
/* Unrecognized integer property ID; someone is using
|
||||
* the object as an array. SMJS builtin classes (e.g.
|
||||
* js_RegExpClass) just return JS_TRUE in this case
|
||||
* and leave *@vp unchanged. Do the same here.
|
||||
* (Actually not quite the same, as we already used
|
||||
@ -145,8 +145,8 @@ cache_entry_set_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
||||
return JS_TRUE;
|
||||
}
|
||||
default:
|
||||
/* Unrecognized property ID; someone is using the
|
||||
* object as an array. SMJS builtin classes (e.g.
|
||||
/* Unrecognized integer property ID; someone is using
|
||||
* the object as an array. SMJS builtin classes (e.g.
|
||||
* js_RegExpClass) just return JS_TRUE in this case.
|
||||
* Do the same here. */
|
||||
return JS_TRUE;
|
||||
|
@ -60,8 +60,8 @@ view_state_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
||||
|
||||
return JS_TRUE;
|
||||
default:
|
||||
/* Unrecognized property ID; someone is using the
|
||||
* object as an array. SMJS builtin classes (e.g.
|
||||
/* Unrecognized integer property ID; someone is using
|
||||
* the object as an array. SMJS builtin classes (e.g.
|
||||
* js_RegExpClass) just return JS_TRUE in this case
|
||||
* and leave *@vp unchanged. Do the same here.
|
||||
* (Actually not quite the same, as we already used
|
||||
@ -95,8 +95,8 @@ view_state_set_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
||||
return JS_TRUE;
|
||||
}
|
||||
default:
|
||||
/* Unrecognized property ID; someone is using the
|
||||
* object as an array. SMJS builtin classes (e.g.
|
||||
/* Unrecognized integer property ID; someone is using
|
||||
* the object as an array. SMJS builtin classes (e.g.
|
||||
* js_RegExpClass) just return JS_TRUE in this case.
|
||||
* Do the same here. */
|
||||
return JS_TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user