Skip to content

Commit

Permalink
2.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
quinton-ashley committed Jun 19, 2024
1 parent 4d94de4 commit 8692fa4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "q5",
"version": "2.0.2",
"version": "2.0.3",
"description": "The sequel to p5.js that's smaller and faster",
"author": "quinton-ashley",
"contributors": [
Expand Down
3 changes: 1 addition & 2 deletions q5.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ function Q5(scope, parent) {
};

let t = globalScope || $;
$._isTouchAware = t.touchStarted || t.touchMoved || t.mouseReleased;
let preloadDefined = t.preload;
let userFns = [
'setup',
Expand Down Expand Up @@ -215,8 +216,6 @@ function Q5(scope, parent) {
}
}

$._isTouchAware = $.touchStarted || $.touchMoved || $.mouseReleased;

if (!($.setup || $.draw)) return;

$._startDone = false;
Expand Down
2 changes: 1 addition & 1 deletion q5.min.js

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions src/q5-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ function Q5(scope, parent) {
};

let t = globalScope || $;
$._isTouchAware = t.touchStarted || t.touchMoved || t.mouseReleased;
let preloadDefined = t.preload;
let userFns = [
'setup',
Expand Down Expand Up @@ -215,8 +216,6 @@ function Q5(scope, parent) {
}
}

$._isTouchAware = $.touchStarted || $.touchMoved || $.mouseReleased;

if (!($.setup || $.draw)) return;

$._startDone = false;
Expand Down

0 comments on commit 8692fa4

Please sign in to comment.