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 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /usr/share/doc/python-nevow/examples/athenademo/ drwxr-xr-x |
Viewing file: Select action/file-type: // import Nevow.Athena function timer() { var d = new Date(); return d.getSeconds() + ':' + d.getMilliseconds(); } document.documentElement.insertBefore( document.createTextNode(timer()), document.documentElement.firstChild); Nevow.Benchmarks.InitializationBenchmark = Nevow.Athena.Widget.subclass('Nevow.Benchmarks.InitializationBenchmark'); Nevow.Benchmarks.InitializationBenchmark.methods( function __init__(self, node) { Nevow.Benchmarks.InitializationBenchmark.upcall(self, '__init__', node); self.stamptime(); self.colorize('yellow'); }, function loaded(self) { self.stamptime(); self.colorize('purple'); var d = self.callRemote('activate'); d.addCallback(function() { self.stamptime(); self.colorize('green'); }); d.addErrback(function() { self.stamptime(); self.colorize('red'); }); }, function stamptime(self) { self.node.appendChild(document.createTextNode(' ' + timer())); }, function colorize(self, color) { self.node.style.color = color; }); |
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0144 ]-- |