Started very much excited. Much less so now.
Not surprising.
EyeOS is going for a real OS. Bravo and good luck to them but I'd like
Clearly not appropriate for your needs. Also, the client side code is
voodoo. I see this pattern over and over:
el.setAttribute('id', 'myid');
Yes, things like this is also consistently spotted:
el.className = 'myclass';
Obviously the author is copying and pasting code without the slightest
idea of the ramifications (perhaps he heard that setting the ID had to
be done with setAttribute?)
Took ten years to load and a quick glance at Firebug reveals this gem:
// A esta funcion se le pasa un objeto UL y lo convierte a arbol
function processList(ul) {
if (!ul.childNodes || ul.childNodes.length==0) { return; }
La primera salida es mala forma. Y la característica repetitiva de
pruebas es ridículo en un marco como este.
// Iterate LIs
for (var itemi=0;itemi<ul.childNodes.length;itemi++) {
Esto es horriblemente ineficiente.
var item = ul.childNodes[itemi];
if (item.nodeName == "LI") {
No hay ninguna garantía de que el nodeName existe una propiedad (o el
regreso mayúsculas.)
// Iterate things in this LI
var subLists = false;
for (var sitemi=0;sitemi<item.childNodes.length;sitemi++) {
Esto también es horriblemente ineficiente.
var sitem = item.childNodes[sitemi];
if (sitem.nodeName=="UL") {
Véase más arriba.
subLists = true;
processList(sitem);
El uso de la recursividad aquí es ridículo.
}
}
var s= document.createElement("SPAN");
var t= '\u00A0'; //
s.className = nodeLinkClass;
if (subLists) {
// This LI has UL's in it, so it's a +/- node
A qué nodo?
if (item.className==null || item.className=="") {
Esta prueba es muy estúpido.
item.className = nodeClosedClass;
}
// If it's just text, make the text work as the link also
if (item.firstChild.nodeName=="#text") {
Esto es indignante.
t = t+item.firstChild.nodeValue;
item.removeChild(item.firstChild);
}
s.onclick = function () {
this.parentNode.className =
(this.parentNode.className==nodeOpenClass) ? nodeClosedClass :
nodeOpenClass;
return false;
}
}
else {
// No sublists, so it's just a bullet node
item.className = nodeBulletClass;
s.onclick = function () { return false; }
}
s.appendChild(document.createTextNode(t));
item.insertBefore(s,item.firstChild);
}
}
Esto fugas de memoria en IE debido a la circular de referencia.
}
Este proyecto está condenado al fracaso (evitar como la peste.)
Suffice to say that Javascript incompetence crosses all borders.
enough OS functionality (open window, resize it, move it, max/minimize
And this is for a color picker? What makes you think you need to
resize or move it? Just put it next to the canvas with a close
button. When it closes, enable a button to re-show it. Problem
solved.
it) for application programming. I'm trying to do a <canvas>-specific
paint program and I'm stuck at the color chooser because of no basic
window functionality.
You are stuck because you aren't thinking about alternate designs.
YouOS closed by its developers at release 0.1, the home page sadly
reports.
That is a shame.
LivelyKernel? Lively only in name. It's a slug on my PC and it's non-
standard. How about minimize, maximize and close buttons in the upper-
right where they're expected?
More of what you don't need.