From 22445c7717b82e9ec005a399616c84c2c6d5702b Mon Sep 17 00:00:00 2001 From: liabru Date: Sun, 3 May 2015 17:47:52 +0100 Subject: [PATCH] demo tweaks --- .jshintrc | 1 + demo/dev.html | 4 +++- demo/js/Demo.js | 10 +++++++--- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.jshintrc b/.jshintrc index a14fafaa..c7d36307 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 785e7cab..f3b688b3 100644 --- a/demo/dev.html +++ b/demo/dev.html @@ -18,6 +18,7 @@ + @@ -34,8 +35,9 @@

Matter.js Demo (Dev. Build)