mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
SMJS: comment changes
This commit is contained in:
parent
99f648b911
commit
9743729cb1
@ -174,8 +174,8 @@ document_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
|||||||
astring_to_jsval(ctx, vp, get_uri_string(document->uri, URI_ORIGINAL));
|
astring_to_jsval(ctx, vp, get_uri_string(document->uri, URI_ORIGINAL));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
/* Unrecognized property ID; someone is using the
|
/* Unrecognized integer property ID; someone is using
|
||||||
* object as an array. SMJS builtin classes (e.g.
|
* the object as an array. SMJS builtin classes (e.g.
|
||||||
* js_RegExpClass) just return JS_TRUE in this case
|
* js_RegExpClass) just return JS_TRUE in this case
|
||||||
* and leave *@vp unchanged. Do the same here.
|
* and leave *@vp unchanged. Do the same here.
|
||||||
* (Actually not quite the same, as we already used
|
* (Actually not quite the same, as we already used
|
||||||
|
@ -279,8 +279,8 @@ input_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
|||||||
if (fc->type == FC_SELECT) int_to_jsval(ctx, vp, fs->state);
|
if (fc->type == FC_SELECT) int_to_jsval(ctx, vp, fs->state);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
/* Unrecognized property ID; someone is using the
|
/* Unrecognized integer property ID; someone is using
|
||||||
* object as an array. SMJS builtin classes (e.g.
|
* the object as an array. SMJS builtin classes (e.g.
|
||||||
* js_RegExpClass) just return JS_TRUE in this case
|
* js_RegExpClass) just return JS_TRUE in this case
|
||||||
* and leave *@vp unchanged. Do the same here.
|
* and leave *@vp unchanged. Do the same here.
|
||||||
* (Actually not quite the same, as we already used
|
* (Actually not quite the same, as we already used
|
||||||
@ -401,8 +401,8 @@ input_set_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
/* Unrecognized property ID; someone is using the
|
/* Unrecognized integer property ID; someone is using
|
||||||
* object as an array. SMJS builtin classes (e.g.
|
* the object as an array. SMJS builtin classes (e.g.
|
||||||
* js_RegExpClass) just return JS_TRUE in this case.
|
* js_RegExpClass) just return JS_TRUE in this case.
|
||||||
* Do the same here. */
|
* Do the same here. */
|
||||||
return JS_TRUE;
|
return JS_TRUE;
|
||||||
@ -958,8 +958,8 @@ form_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
/* Unrecognized property ID; someone is using the
|
/* Unrecognized integer property ID; someone is using
|
||||||
* object as an array. SMJS builtin classes (e.g.
|
* the object as an array. SMJS builtin classes (e.g.
|
||||||
* js_RegExpClass) just return JS_TRUE in this case
|
* js_RegExpClass) just return JS_TRUE in this case
|
||||||
* and leave *@vp unchanged. Do the same here.
|
* and leave *@vp unchanged. Do the same here.
|
||||||
* (Actually not quite the same, as we already used
|
* (Actually not quite the same, as we already used
|
||||||
@ -1045,8 +1045,8 @@ form_set_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
/* Unrecognized property ID; someone is using the
|
/* Unrecognized integer property ID; someone is using
|
||||||
* object as an array. SMJS builtin classes (e.g.
|
* the object as an array. SMJS builtin classes (e.g.
|
||||||
* js_RegExpClass) just return JS_TRUE in this case.
|
* js_RegExpClass) just return JS_TRUE in this case.
|
||||||
* Do the same here. */
|
* Do the same here. */
|
||||||
break;
|
break;
|
||||||
|
@ -177,8 +177,8 @@ location_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
|||||||
astring_to_jsval(ctx, vp, get_uri_string(vs->uri, URI_ORIGINAL));
|
astring_to_jsval(ctx, vp, get_uri_string(vs->uri, URI_ORIGINAL));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
/* Unrecognized property ID; someone is using the
|
/* Unrecognized integer property ID; someone is using
|
||||||
* object as an array. SMJS builtin classes (e.g.
|
* the object as an array. SMJS builtin classes (e.g.
|
||||||
* js_RegExpClass) just return JS_TRUE in this case
|
* js_RegExpClass) just return JS_TRUE in this case
|
||||||
* and leave *@vp unchanged. Do the same here.
|
* and leave *@vp unchanged. Do the same here.
|
||||||
* (Actually not quite the same, as we already used
|
* (Actually not quite the same, as we already used
|
||||||
|
@ -138,8 +138,8 @@ navigator_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
/* Unrecognized property ID; someone is using the
|
/* Unrecognized integer property ID; someone is using
|
||||||
* object as an array. SMJS builtin classes (e.g.
|
* the object as an array. SMJS builtin classes (e.g.
|
||||||
* js_RegExpClass) just return JS_TRUE in this case
|
* js_RegExpClass) just return JS_TRUE in this case
|
||||||
* and leave *@vp unchanged. Do the same here.
|
* and leave *@vp unchanged. Do the same here.
|
||||||
* (Actually not quite the same, as we already used
|
* (Actually not quite the same, as we already used
|
||||||
|
@ -127,8 +127,8 @@ unibar_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
|||||||
#undef unibar_fetch
|
#undef unibar_fetch
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
/* Unrecognized property ID; someone is using the
|
/* Unrecognized integer property ID; someone is using
|
||||||
* object as an array. SMJS builtin classes (e.g.
|
* the object as an array. SMJS builtin classes (e.g.
|
||||||
* js_RegExpClass) just return JS_TRUE in this case
|
* js_RegExpClass) just return JS_TRUE in this case
|
||||||
* and leave *@vp unchanged. Do the same here. */
|
* and leave *@vp unchanged. Do the same here. */
|
||||||
break;
|
break;
|
||||||
@ -181,8 +181,8 @@ unibar_set_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
|||||||
register_bottom_half(update_status, NULL);
|
register_bottom_half(update_status, NULL);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
/* Unrecognized property ID; someone is using the
|
/* Unrecognized integer property ID; someone is using
|
||||||
* object as an array. SMJS builtin classes (e.g.
|
* the object as an array. SMJS builtin classes (e.g.
|
||||||
* js_RegExpClass) just return JS_TRUE in this case.
|
* js_RegExpClass) just return JS_TRUE in this case.
|
||||||
* Do the same here. */
|
* Do the same here. */
|
||||||
return JS_TRUE;
|
return JS_TRUE;
|
||||||
|
@ -238,8 +238,8 @@ found_parent:
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
/* Unrecognized property ID; someone is using the
|
/* Unrecognized integer property ID; someone is using
|
||||||
* object as an array. SMJS builtin classes (e.g.
|
* the object as an array. SMJS builtin classes (e.g.
|
||||||
* js_RegExpClass) just return JS_TRUE in this case
|
* js_RegExpClass) just return JS_TRUE in this case
|
||||||
* and leave *@vp unchanged. Do the same here.
|
* and leave *@vp unchanged. Do the same here.
|
||||||
* (Actually not quite the same, as we already used
|
* (Actually not quite the same, as we already used
|
||||||
@ -287,8 +287,8 @@ window_set_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
|||||||
print_screen_status(vs->doc_view->session);
|
print_screen_status(vs->doc_view->session);
|
||||||
return JS_TRUE;
|
return JS_TRUE;
|
||||||
default:
|
default:
|
||||||
/* Unrecognized property ID; someone is using the
|
/* Unrecognized integer property ID; someone is using
|
||||||
* object as an array. SMJS builtin classes (e.g.
|
* the object as an array. SMJS builtin classes (e.g.
|
||||||
* js_RegExpClass) just return JS_TRUE in this case.
|
* js_RegExpClass) just return JS_TRUE in this case.
|
||||||
* Do the same here. */
|
* Do the same here. */
|
||||||
return JS_TRUE;
|
return JS_TRUE;
|
||||||
|
@ -116,8 +116,8 @@ bookmark_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
|||||||
|
|
||||||
return JS_TRUE;
|
return JS_TRUE;
|
||||||
default:
|
default:
|
||||||
/* Unrecognized property ID; someone is using the
|
/* Unrecognized integer property ID; someone is using
|
||||||
* object as an array. SMJS builtin classes (e.g.
|
* the object as an array. SMJS builtin classes (e.g.
|
||||||
* js_RegExpClass) just return JS_TRUE in this case
|
* js_RegExpClass) just return JS_TRUE in this case
|
||||||
* and leave *@vp unchanged. Do the same here.
|
* and leave *@vp unchanged. Do the same here.
|
||||||
* (Actually not quite the same, as we already used
|
* (Actually not quite the same, as we already used
|
||||||
@ -164,8 +164,8 @@ bookmark_set_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
|||||||
return JS_TRUE;
|
return JS_TRUE;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
/* Unrecognized property ID; someone is using the
|
/* Unrecognized integer property ID; someone is using
|
||||||
* object as an array. SMJS builtin classes (e.g.
|
* the object as an array. SMJS builtin classes (e.g.
|
||||||
* js_RegExpClass) just return JS_TRUE in this case.
|
* js_RegExpClass) just return JS_TRUE in this case.
|
||||||
* Do the same here. */
|
* Do the same here. */
|
||||||
return JS_TRUE;
|
return JS_TRUE;
|
||||||
|
@ -91,8 +91,8 @@ cache_entry_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
|||||||
|
|
||||||
return JS_TRUE;
|
return JS_TRUE;
|
||||||
default:
|
default:
|
||||||
/* Unrecognized property ID; someone is using the
|
/* Unrecognized integer property ID; someone is using
|
||||||
* object as an array. SMJS builtin classes (e.g.
|
* the object as an array. SMJS builtin classes (e.g.
|
||||||
* js_RegExpClass) just return JS_TRUE in this case
|
* js_RegExpClass) just return JS_TRUE in this case
|
||||||
* and leave *@vp unchanged. Do the same here.
|
* and leave *@vp unchanged. Do the same here.
|
||||||
* (Actually not quite the same, as we already used
|
* (Actually not quite the same, as we already used
|
||||||
@ -149,8 +149,8 @@ cache_entry_set_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
|||||||
return JS_TRUE;
|
return JS_TRUE;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
/* Unrecognized property ID; someone is using the
|
/* Unrecognized integer property ID; someone is using
|
||||||
* object as an array. SMJS builtin classes (e.g.
|
* the object as an array. SMJS builtin classes (e.g.
|
||||||
* js_RegExpClass) just return JS_TRUE in this case.
|
* js_RegExpClass) just return JS_TRUE in this case.
|
||||||
* Do the same here. */
|
* Do the same here. */
|
||||||
return JS_TRUE;
|
return JS_TRUE;
|
||||||
|
@ -105,8 +105,8 @@ smjs_globhist_item_get_property(JSContext *ctx, JSObject *obj, jsval id,
|
|||||||
|
|
||||||
return JS_TRUE;
|
return JS_TRUE;
|
||||||
default:
|
default:
|
||||||
/* Unrecognized property ID; someone is using the
|
/* Unrecognized integer property ID; someone is using
|
||||||
* object as an array. SMJS builtin classes (e.g.
|
* the object as an array. SMJS builtin classes (e.g.
|
||||||
* js_RegExpClass) just return JS_TRUE in this case
|
* js_RegExpClass) just return JS_TRUE in this case
|
||||||
* and leave *@vp unchanged. Do the same here.
|
* and leave *@vp unchanged. Do the same here.
|
||||||
* (Actually not quite the same, as we already used
|
* (Actually not quite the same, as we already used
|
||||||
@ -163,8 +163,8 @@ smjs_globhist_item_set_property(JSContext *ctx, JSObject *obj, jsval id, jsval *
|
|||||||
return JS_TRUE;
|
return JS_TRUE;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
/* Unrecognized property ID; someone is using the
|
/* Unrecognized integer property ID; someone is using
|
||||||
* object as an array. SMJS builtin classes (e.g.
|
* the object as an array. SMJS builtin classes (e.g.
|
||||||
* js_RegExpClass) just return JS_TRUE in this case.
|
* js_RegExpClass) just return JS_TRUE in this case.
|
||||||
* Do the same here. */
|
* Do the same here. */
|
||||||
return JS_TRUE;
|
return JS_TRUE;
|
||||||
|
@ -68,8 +68,8 @@ view_state_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
|||||||
|
|
||||||
return JS_TRUE;
|
return JS_TRUE;
|
||||||
default:
|
default:
|
||||||
/* Unrecognized property ID; someone is using the
|
/* Unrecognized integer property ID; someone is using
|
||||||
* object as an array. SMJS builtin classes (e.g.
|
* the object as an array. SMJS builtin classes (e.g.
|
||||||
* js_RegExpClass) just return JS_TRUE in this case
|
* js_RegExpClass) just return JS_TRUE in this case
|
||||||
* and leave *@vp unchanged. Do the same here.
|
* and leave *@vp unchanged. Do the same here.
|
||||||
* (Actually not quite the same, as we already used
|
* (Actually not quite the same, as we already used
|
||||||
@ -103,8 +103,8 @@ view_state_set_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp)
|
|||||||
return JS_TRUE;
|
return JS_TRUE;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
/* Unrecognized property ID; someone is using the
|
/* Unrecognized integer property ID; someone is using
|
||||||
* object as an array. SMJS builtin classes (e.g.
|
* the object as an array. SMJS builtin classes (e.g.
|
||||||
* js_RegExpClass) just return JS_TRUE in this case.
|
* js_RegExpClass) just return JS_TRUE in this case.
|
||||||
* Do the same here. */
|
* Do the same here. */
|
||||||
return JS_TRUE;
|
return JS_TRUE;
|
||||||
|
Loading…
Reference in New Issue
Block a user