migrate parts

Rectangle2

Point
remove
prototypes

prototypes
ClSimple
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Enter search term:
Next
regexp
Prev
Occur

X
constraintinterpreter.js
X

Menu
N
[log] http://lively-kernel.org/babelsberg/core/lively/ide/tools/CodeSearch.js loaded in 26 ms
[log] http://lively-kernel.org/babelsberg/core/anonymous_module_53 loaded in 6 ms
[warn] misspelled option "useElasticTabstops"
[warn] misspelled option "behaviorsEnabled"
[warn] misspelled option "behaviorsEnabled"
[log] Finished parsing in 3.926 s
[log] new url: http://lively-kernel.org/babelsberg/core/lively/morphic/
[log] http://lively-kernel.org/babelsberg/core/anonymous_module_54 loaded in 6 ms
[warn] misspelled option "useElasticTabstops"
[warn] misspelled option "behaviorsEnabled"
[warn] misspelled option "behaviorsEnabled"
[log] new url: http://lively-kernel.org/babelsberg/core/lively/morphic/
[log] http://lively-kernel.org/babelsberg/core/anonymous_module_55 loaded in 6 ms
[warn] misspelled option "useElasticTabstops"
[warn] misspelled option "behaviorsEnabled"
[warn] misspelled option "behaviorsEnabled"
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
follow log
clear
reattach
Log Messages
X

Menu
depth: 1
reset
module('users.timfelgentreff.babelsberg.constraintinterpreter').load();
$morph('DrawBoard').removeAllMorphs()
getLine = (function getLine() {
    var line = this.get('Bin').get('Line').duplicate();
    this.get('DrawBoard').addMorph(line)
    return line;
}).bind(this);
getPoint = (function getPoint() {
    var point = this.get('Bin').get('Point').duplicate();
    this.get('DrawBoard').addMorph(point)
    point.x = 30;
    point.y = 30;
    return point;
}).bind(this);
debugger
newLine = getLine();
newPoint = getPoint();
newPoint.position
newPoint.position = newPoint.position.withX(10)
debugger;
var foo = 0
bbb.always({
    solver: new ClSimplexSolver(),
    ctx: {
             newLine: newLine,
             newPoint: newPoint
        }
    
}, function() { return newLine.end.eqPt(newPoint.position)});
newLine.end.eqPt
newPoint.position
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
show vars
JavaScript Workspace
X

Menu