Skip to content

Commit 45e2e18

Browse files
authored
Update 12_Drop.js
fixed a print statement that was old Java code
1 parent c0d8338 commit 45e2e18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/data/examples/en/16_Dom/12_Drop.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ function gotFile(file) {
3131
// Draw the image onto the canvas
3232
image(img, 0, 0, width, height);
3333
} else {
34-
println('Not an image file!');
34+
console.log('Not an image file!');
3535
}
36-
}
36+
}

0 commit comments

Comments
 (0)