Changeset 13623 for trunk/FACT++


Ignore:
Timestamp:
05/09/12 16:39:00 (12 years ago)
Author:
tbretz
Message:
This seems to make the compiler more happy.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/www/index.js

    r13622 r13623  
    609609
    610610    $("body").setAttribute("data-visible", newz);
    611     intervalSlide = setInterval(doShift, 75, oldz, newz);
     611    intervalSlide = setInterval(function(){doShift(oldz,newz)}, 75);
    612612}
    613613
     
    10411041}
    10421042
     1043/**
     1044 * @constructor
     1045 */
    10431046function position(s, ring, i)
    10441047{
    1045     this.x = 0;
    1046     this.y = 0;
    1047 
    10481048    switch (s)
    10491049    {
     
    10551055    case 0: this.x =  ring*0.5 + i*0.5;  this.y = -ring + i; break;
    10561056    }
    1057 
    10581057    this.d = function() { return this.x*this.x + this.y*this.y*3/4; }
    10591058}
Note: See TracChangeset for help on using the changeset viewer.