From 0fa38bb8e17f4b56ad25a92123c5ce9894ffa85a Mon Sep 17 00:00:00 2001 From: Michael Wood Date: Tue, 3 Mar 2015 16:18:24 +0000 Subject: bitbake: toaster: libtoaster Fix a few warnings picked up by jshint Fix warnings and items that do not conform to strict. Also add a fairly lenient jshintrc. usage: jshint js_file (Bitbake rev: 93a1e05a5d6bd19e689126bfef0df8caa0d8bf34) Signed-off-by: Michael Wood Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/static/js/.jshintrc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 bitbake/lib/toaster/toastergui/static/js/.jshintrc (limited to 'bitbake/lib/toaster/toastergui/static/js/.jshintrc') diff --git a/bitbake/lib/toaster/toastergui/static/js/.jshintrc b/bitbake/lib/toaster/toastergui/static/js/.jshintrc new file mode 100644 index 0000000000..b02f3efa1c --- /dev/null +++ b/bitbake/lib/toaster/toastergui/static/js/.jshintrc @@ -0,0 +1,11 @@ +{ + "curly" : false, + "predef" : [ "$","libtoaster", "prettyPrint" ], + "eqnull": true, + "plusplus" : false, + "browser" : true, + "jquery" : true, + "devel" : true, + "unused" : true, + "maxerr" : 60 +} -- cgit v1.2.3-54-g00ecf