Skip to content

Commit

Permalink
style: make eslint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
zenozeng committed Oct 5, 2021
1 parent 0bf68d8 commit b2d037d
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ function init(p5) {
/**
* @namespace p5
*/
RendererSVG(p5);
Rendering(p5);
IO(p5);
Element(p5);
Filters(p5);
RendererSVG(p5);
Rendering(p5);
IO(p5);
Element(p5);
Filters(p5);

// attach constants to p5 instance
Object.keys(constants).forEach(function(k) {
p5.prototype[k] = constants[k];
});
// attach constants to p5 instance
Object.keys(constants).forEach(function(k) {
p5.prototype[k] = constants[k];
});
}

if (typeof window.p5 !== "undefined") {
if (typeof window.p5 !== 'undefined') {
init(window.p5);
}

Expand Down

0 comments on commit b2d037d

Please sign in to comment.