Utente:Jalo/vector.js: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica |
Nessun oggetto della modifica |
||
Riga 240:
//</pre>
//Ritorna true se la variabile toLoad contiene l'opzione str
mustLoad = (function(){
mustLoadCache = {};
var A = toLoad ? toLoad.split(' ') : [];
for(var i = 0; i < A.length; i++)
if (A[i])
mustLoadCache[A[i]] = true;
return function(str){
return mustLoadCache[str] === true;
};
})();
/* INIZIO Segna come verificata */
|