Added credit
This commit is contained in:
parent
b4687059d2
commit
24420595c0
|
@ -359,7 +359,7 @@ Layout.ForceDirected.prototype.totalEnergy = function(timestep) {
|
|||
return energy;
|
||||
};
|
||||
|
||||
var __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };
|
||||
var __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }; // stolen from coffeescript, thanks jashkenas! ;-)
|
||||
|
||||
Layout.requestAnimationFrame = __bind(window.requestAnimationFrame ||
|
||||
window.webkitRequestAnimationFrame ||
|
||||
|
|
Loading…
Reference in New Issue
Block a user