diff --git a/.jshintrc b/.jshintrc index a14fafa..c7d3630 100644 --- a/.jshintrc +++ b/.jshintrc @@ -14,6 +14,7 @@ // options "laxbreak" : true, // Tolerate unsafe line breaks e.g. `return [\n] x` without semicolons. + "loopfunc" : true, // Allow functions in loops (e.g. for async closures) // style "newcap" : true, // Require capitalization of all constructor functions e.g. `new F()`. diff --git a/demo/dev.html b/demo/dev.html index 785e7ca..f3b688b 100644 --- a/demo/dev.html +++ b/demo/dev.html @@ -18,6 +18,7 @@ + @@ -34,8 +35,9 @@