mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-28 03:06:20 -04:00
[smjs] Console log Cleanup
This commit is contained in:
parent
985a92c079
commit
c3e0e0f50d
@ -15,38 +15,16 @@
|
|||||||
#include "bfu/dialog.h"
|
#include "bfu/dialog.h"
|
||||||
#include "cache/cache.h"
|
#include "cache/cache.h"
|
||||||
#include "config/home.h"
|
#include "config/home.h"
|
||||||
#include "cookies/cookies.h"
|
|
||||||
#include "dialogs/menu.h"
|
#include "dialogs/menu.h"
|
||||||
#include "dialogs/status.h"
|
#include "dialogs/status.h"
|
||||||
#include "document/html/frames.h"
|
|
||||||
#include "document/document.h"
|
|
||||||
#include "document/forms.h"
|
|
||||||
#include "document/view.h"
|
|
||||||
#include "ecmascript/ecmascript.h"
|
#include "ecmascript/ecmascript.h"
|
||||||
#include "ecmascript/spidermonkey/console.h"
|
#include "ecmascript/spidermonkey/console.h"
|
||||||
#include "ecmascript/spidermonkey/form.h"
|
|
||||||
#include "ecmascript/spidermonkey/location.h"
|
|
||||||
#include "ecmascript/spidermonkey/document.h"
|
|
||||||
#include "ecmascript/spidermonkey/window.h"
|
|
||||||
#include "intl/gettext/libintl.h"
|
#include "intl/gettext/libintl.h"
|
||||||
#include "main/select.h"
|
|
||||||
#include "osdep/newwin.h"
|
#include "osdep/newwin.h"
|
||||||
#include "osdep/sysname.h"
|
#include "osdep/sysname.h"
|
||||||
#include "protocol/http/http.h"
|
|
||||||
#include "protocol/uri.h"
|
|
||||||
#include "session/history.h"
|
|
||||||
#include "session/location.h"
|
|
||||||
#include "session/session.h"
|
|
||||||
#include "session/task.h"
|
|
||||||
#include "terminal/tab.h"
|
|
||||||
#include "terminal/terminal.h"
|
|
||||||
#include "util/conv.h"
|
#include "util/conv.h"
|
||||||
#include "util/memory.h"
|
#include "util/memory.h"
|
||||||
#include "util/string.h"
|
#include "util/string.h"
|
||||||
#include "viewer/text/draw.h"
|
|
||||||
#include "viewer/text/form.h"
|
|
||||||
#include "viewer/text/link.h"
|
|
||||||
#include "viewer/text/vs.h"
|
|
||||||
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include "document/renderer.h"
|
#include "document/renderer.h"
|
||||||
@ -70,18 +48,6 @@ const JSClass console_class = {
|
|||||||
&console_ops
|
&console_ops
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Tinyids of properties. Use negative values to distinguish these
|
|
||||||
* from array indexes (even though this object has no array elements).
|
|
||||||
* ECMAScript code should not use these directly as in document[-1];
|
|
||||||
* future versions of ELinks may change the numbers. */
|
|
||||||
enum console_prop {
|
|
||||||
JSP_LOCALSTORAGE_LOC = -1,
|
|
||||||
JSP_LOCALSTORAGE_REF = -2,
|
|
||||||
JSP_LOCALSTORAGE_TITLE = -3,
|
|
||||||
JSP_LOCALSTORAGE_URL = -4,
|
|
||||||
};
|
|
||||||
/* "cookie" is special; it isn't a regular property but we channel it to the
|
|
||||||
* cookie-module. XXX: Would it work if "cookie" was defined in this array? */
|
|
||||||
const JSPropertySpec console_props[] = {
|
const JSPropertySpec console_props[] = {
|
||||||
{ NULL }
|
{ NULL }
|
||||||
};
|
};
|
||||||
|
@ -7,7 +7,7 @@ function hello() {
|
|||||||
</script>
|
</script>
|
||||||
<pre>
|
<pre>
|
||||||
You'll find the console.log
|
You'll find the console.log
|
||||||
at config dir (~/elinks)
|
at config dir (~/.elinks)
|
||||||
</pre>
|
</pre>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user