Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 230d095

Browse files
fix: nodeName
1 parent 7bc4992 commit 230d095

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

‎dist/gpu-browser-core.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
*
55
* GPU Accelerated JavaScript
66
*
7-
* @version 2.15.1
8-
* @date Mon Mar 28 2022 10:33:39 GMT-0400 (Eastern Daylight Time)
7+
* @version 2.15.2
8+
* @date Mon Mar 28 2022 10:51:06 GMT-0400 (Eastern Daylight Time)
99
*
1010
* @license MIT
1111
* The MIT License
@@ -14277,7 +14277,7 @@ const utils = {
1427714277
case Input:
1427814278
return 'Input';
1427914279
}
14280-
if (value.hasOwnProperty('nodeName')) {
14280+
if ('nodeName'invalue) {
1428114281
switch (value.nodeName) {
1428214282
case 'IMG':
1428314283
return 'HTMLImage';

‎dist/gpu-browser-core.min.js‎

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/gpu-browser.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
*
55
* GPU Accelerated JavaScript
66
*
7-
* @version 2.15.1
8-
* @date Mon Mar 28 2022 10:33:39 GMT-0400 (Eastern Daylight Time)
7+
* @version 2.15.2
8+
* @date Mon Mar 28 2022 10:51:06 GMT-0400 (Eastern Daylight Time)
99
*
1010
* @license MIT
1111
* The MIT License
@@ -18886,7 +18886,7 @@ const utils = {
1888618886
case Input:
1888718887
return 'Input';
1888818888
}
18889-
if (value.hasOwnProperty('nodeName')) {
18889+
if ('nodeName' in value) {
1889018890
switch (value.nodeName) {
1889118891
case 'IMG':
1889218892
return 'HTMLImage';

‎dist/gpu-browser.min.js‎

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gpu.js",
3-
"version": "2.15.1",
3+
"version": "2.15.2",
44
"description": "GPU Accelerated JavaScript",
55
"engines": {
66
"node": ">=8.0.0"

‎src/utils.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ const utils = {
143143
case Input:
144144
return 'Input';
145145
}
146-
if (value.hasOwnProperty('nodeName')) {
146+
if ('nodeName'invalue) {
147147
switch (value.nodeName) {
148148
case 'IMG':
149149
return 'HTMLImage';
@@ -1013,4 +1013,4 @@ const _systemEndianness = utils.getSystemEndianness();
10131013

10141014
module.exports = {
10151015
utils
1016-
};
1016+
};

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /