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
/* | |
* A loop for delaying each iteration of a loop | |
* How to use? | |
* var time = new TimeLoop(ms, iterations, callback); | |
* time(); // Executes the loop | |
* | |
* Also, the first parameter of the callback function is the counter of the loop | |
*/ | |
var TimeLoop = function(ms, i, callback) { |
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
/* | |
* | |
* Custom MVC library | |
* | |
* | |
* Api reference : | |
* var mvc = new Mvc // options > debug : false | |
* var page = new mvc.Component({ | |
* name : 'shash7', // some value |
NewerOlder