Files
LAFF/PictureFLAME/codefrags.js
Julien Lengrand-Lambert d4dce71599 Create repo
2018-05-02 09:13:08 +02:00

25 lines
791 B
JavaScript
Executable File

/* function part(operand, type, dir){
var elmt = document.getElementById(operand);
var tbl = elmt.childNodes[1];
if (type=='2x1' || type=='2x2'){
tbl.rows[0].className = 'T';
}
if (type=='1x2' || type=='2x2'){
for (var i = 0; i != tbl.rows.length; ++i){
tbl.rows[i].cells[0].className += 'L';
}
}
}
*/
/*
repart(oprdExpr.exec(stmt)[0].replace(/\(\s*/g, '').charAt(0),
partTypeExpr.exec(stmt)[0], false,
partDirExpr.exec(stmt)[0].substring(4));
*/
/* cont_with(oprdExpr.exec(stmt)[0].replace(/\(\s*/g, '').charAt(0),
partTypeExpr.exec(stmt)[0], false,
partDirExpr.exec(stmt)[0]);
*/ }