This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curvePath = []; | |
var step = 1 / 100; | |
var point1, point2, point3; | |
point1 = {'x': 0, 'y':0}; | |
point2 = {'x':250, 'y':200}; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function supaTest(){ | |
var tests = [{'name':1},{'name':2}]; | |
var delay = 2000; | |
for (var i=0; i < tests.length; i++) { | |
setTimeout( function (test) { | |
return function () { | |
console.log(new Date()); | |
console.log(test.name) | |
} |
NewerOlder