mirror of
https://github.com/konvajs/konva.git
synced 2025-10-14 11:44:55 +08:00
adding jshintrc file
This commit is contained in:
17
.jshintrc
Normal file
17
.jshintrc
Normal file
@@ -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
|
||||||
|
}
|
@@ -31,6 +31,7 @@
|
|||||||
width = this.getWidth(),
|
width = this.getWidth(),
|
||||||
height = this.getHeight();
|
height = this.getHeight();
|
||||||
|
|
||||||
|
|
||||||
context.beginPath();
|
context.beginPath();
|
||||||
|
|
||||||
if(!cornerRadius) {
|
if(!cornerRadius) {
|
||||||
|
Reference in New Issue
Block a user