From 1dec988c27b85b3de4000479930a77ff49a62b96 Mon Sep 17 00:00:00 2001 From: Eric Rowell Date: Wed, 27 Nov 2013 10:13:34 -0800 Subject: [PATCH] adding jshintrc file --- .jshintrc | 17 +++++++++++++++++ src/shapes/Rect.js | 1 + 2 files changed, 18 insertions(+) create mode 100644 .jshintrc diff --git a/.jshintrc b/.jshintrc new file mode 100644 index 00000000..b5af7e9f --- /dev/null +++ b/.jshintrc @@ -0,0 +1,17 @@ +{ + "curly": true, + "eqeqeq": true, + "immed": true, + "latedef": true, + "newcap": true, + "noarg": true, + "sub": true, + "undef": true, + "boss": true, + "eqnull": true, + "node": true, + "indent": 4, + "latedef": true, + "quotmark": "single", + "unused": true +} \ No newline at end of file diff --git a/src/shapes/Rect.js b/src/shapes/Rect.js index 294265b6..7b897c4b 100644 --- a/src/shapes/Rect.js +++ b/src/shapes/Rect.js @@ -31,6 +31,7 @@ width = this.getWidth(), height = this.getHeight(); + context.beginPath(); if(!cornerRadius) {