Update index.html
This commit is contained in:
parent
5ce06c62ec
commit
36f27c2da3
12
index.html
12
index.html
@ -319,15 +319,21 @@
|
||||
};
|
||||
|
||||
// crossbrowser implementation for requestAnimationFrame
|
||||
var requestAnimation = (function() {
|
||||
return /*window.requestAnimationFrame
|
||||
/*var requestAnimation = (function() {
|
||||
return window.requestAnimationFrame
|
||||
|| window.webkitRequestAnimationFrame
|
||||
||*/ window.mozRequestAnimationFrame
|
||||
|| window.mozRequestAnimationFrame
|
||||
|| window.oRequestAnimationFrame
|
||||
|| window.msRequestAnimationFrame
|
||||
|| function(callback, element) {
|
||||
window.setTimeout(callback, 1000/60);
|
||||
};
|
||||
})();*/
|
||||
|
||||
var requestAnimation = (function() {
|
||||
return function(callback, element) {
|
||||
window.setTimeout(callback, 1000/60);
|
||||
};
|
||||
})();
|
||||
|
||||
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
Loading…
Reference in New Issue
Block a user