33mestre / jsviz

Automatically exported from code.google.com/p/jsviz
0 stars 0 forks source link

duplicated code in ForceDirectedLayout.js #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
ForceDirectedLayout.prototype.dequeueNode = function() {
    var node = this.dataNodeQueue.shift();
    if ( node ) {
        this.addParticle( node );
        return true;                        
    }
    return false;
}

That method appears twice in ForceDirectedLayout.js, version 0.3.3. I
recommend removing one instance.

Original issue reported on code.google.com by drewpca on 14 Jan 2008 at 1:28