It lagged while saving (never got a "Saved!" message)
I reloaded it and it gave "csunderground.org refused to connect."
Code here:
var getCode = function() {
return window.parent.liveEditor.editor.editor.getValue();
};
var setCode = function(code) {
window.parent.liveEditor.editor.editor.setValue(code);
};
var x = 0;
draw = function() {
x += 125;
var code = getCode();
var pos = code.indexOf("x += ");
var end = code.substring(pos).indexOf(";") + pos;
var num = parseInt(code.substring(pos + 5, end));
num += 1;
var newCode = code.substring(0, pos + 5) + num + code.substring(end);
//setCode(newCode);
};
I think I crashed csunderground. These are things I did:
Code here: