examples/face/eye.js
Function Eye
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Eye(ctx) {
this.draw = function (opt) {
opt = Object.assign({
cx: 0,
Function draw
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.draw = function (opt) {
opt = Object.assign({
cx: 0,
cy: 0,
width: 10,