Skip to content

Commit 644f001

Browse files
committed
Changed Lib.ready to avoid using eval
1 parent 141935f commit 644f001

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/javascripts/lib.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
var Lib = {
55
/* http://www.dustindiaz.com/smallest-domready-ever */
66
/* jshint -W030 */
7-
ready: function r(f){ /in/.test(document.readyState)?setTimeout('Lib.ready('+f+')',9):f(); }
7+
ready: function r(f){ /in/.test(document.readyState)?setTimeout(function () {Lib.ready(f);},9):f(); }
88
};
99

1010
window.Lib = Lib;

0 commit comments

Comments
 (0)