Fixed #99 with requestAnimationFrame polyfill

This commit is contained in:
Max Lynch
2013-11-07 19:24:55 -06:00
parent d37ec6fca2
commit 32d0f48e21
9 changed files with 71 additions and 41 deletions

View File

@ -22,7 +22,7 @@
alert: function(message) {
var _this = this;
window.requestAnimationFrame(function() {
window.rAF(function() {
_this.setTitle(message);
_this.el.classList.add('active');
});