DevServer - Workspace
X
M

http = require('http') cheerio = require('cheerio') $ = cheerio.load('<h2 id="LivelyJSONWorld">Hello world</h2>'); $.find("#LivelyJSONWorld") Properties.own(eval("$")) f = function(a) {} f.argumentNames() $. Object.extend global $. r = [] for(ea in $) { r.push([ea]) }; r Functions.own(global) Properties.own(global) $('h2').addClass('welcome'); $.html(); var json = $(window).find("#LivelyJSONWorld") console.log('JSON: ' + json); var jso = JSON.parse(json) console.log("JSO:" + jso) var obj = JSON.parse(output); onResult(res.statusCode, obj); }); webR = new WebResource('http://lively-kernel.org/nodejs/DevServer/eval') webR.post("f = function(a) { return a + 1} ").content webR.post("f(3)").content 3 + 4
stdout: loaded basic library Loaded platform-independent graphics primitives DevServer running at http://127.0.0.1:8110/ requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval requesting eval stderr:
browse
(re)start
stop