diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-09-16 18:05:53 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-09-16 18:05:53 +0200 |
commit | 197870a731f18dd9759e9cc97dfd298fda773251 (patch) | |
tree | 7d6ff05bc404d07d02bab47e59429986d47c842c /source4/lib/appweb/ejs-2.0/ejs/system/ejsSystemDebug.c | |
parent | c2eb4e5f8e0275003f9cffe1feeee6e34b7e578e (diff) | |
download | samba-197870a731f18dd9759e9cc97dfd298fda773251.tar.gz samba-197870a731f18dd9759e9cc97dfd298fda773251.tar.bz2 samba-197870a731f18dd9759e9cc97dfd298fda773251.zip |
Remove remaining embedded JavaScript support.
Diffstat (limited to 'source4/lib/appweb/ejs-2.0/ejs/system/ejsSystemDebug.c')
-rw-r--r-- | source4/lib/appweb/ejs-2.0/ejs/system/ejsSystemDebug.c | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/source4/lib/appweb/ejs-2.0/ejs/system/ejsSystemDebug.c b/source4/lib/appweb/ejs-2.0/ejs/system/ejsSystemDebug.c deleted file mode 100644 index 5a011e2a2d..0000000000 --- a/source4/lib/appweb/ejs-2.0/ejs/system/ejsSystemDebug.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * @file ejsSystemDebug.c - * @brief System.Debug class - */ -/********************************** Copyright *********************************/ -/* - * Copyright (c) Mbedthis Software LLC, 2005-2006. All Rights Reserved. - */ -/********************************** Includes **********************************/ - -#include "ejs.h" - -/******************************************************************************/ -/************************************ Methods *********************************/ -/******************************************************************************/ -/* - * function bool isDebugMode() - * MOB -- convert to accessor - */ - -static int isDebugMode(Ejs *ejs, EjsVar *thisObj, int argc, EjsVar **argv) -{ - ejsTrace(ejs, "isDebugMode()\n"); - ejsSetReturnValueToInteger(ejs, mprGetDebugMode(ejs)); - return 0; -} - -/******************************************************************************/ -/******************************** Initialization ******************************/ -/******************************************************************************/ - -int ejsDefineDebugClass(Ejs *ejs) -{ - EjsVar *systemDebugClass; - - systemDebugClass = ejsDefineClass(ejs, "System.Debug", "Object", 0); - if (systemDebugClass == 0) { - return MPR_ERR_CANT_INITIALIZE; - } - - /* - * Define the class methods - */ - ejsDefineCMethod(ejs, systemDebugClass, "isDebugMode", isDebugMode, - EJS_NO_LOCAL); - - return ejsObjHasErrors(systemDebugClass) ? MPR_ERR_CANT_INITIALIZE : 0; -} - -/******************************************************************************/ - -/* - * Local variables: - * tab-width: 4 - * c-basic-offset: 4 - * End: - * vim:tw=78 - * vim600: sw=4 ts=4 fdm=marker - * vim<600: sw=4 ts=4 - */ |