-
Notifications
You must be signed in to change notification settings - Fork 496
[#5764] 신규 판단, 값블록 구현 #2463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#5764] 신규 판단, 값블록 구현 #2463
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
eslint
src/playground/blocks/block_calc.js|1103 col 33| Unexpected space before function parentheses.
src/playground/blocks/block_calc.js|1110 col 33| Delete ·
src/playground/blocks/block_calc.js|1110 col 33| Unexpected space before function parentheses.
src/playground/blocks/block_calc.js|1172 col 33| Delete ·
src/playground/blocks/block_calc.js|1172 col 33| Unexpected space before function parentheses.
src/playground/blocks/block_calc.js|1179 col 33| Delete ·
src/playground/blocks/block_calc.js|1179 col 33| Unexpected space before function parentheses.
src/playground/blocks/block_calc.js|1310 col 33| Delete ·
src/playground/blocks/block_calc.js|1310 col 33| Unexpected space before function parentheses.
src/playground/blocks/block_calc.js|1317 col 33| Delete ·
src/playground/blocks/block_calc.js|1317 col 33| Unexpected space before function parentheses.
src/playground/blocks/block_calc.js|1525 col 29| Insert ····
src/playground/blocks/block_calc.js|1531 col 1| Replace ···························· with ································
src/playground/blocks/block_calc.js|1784 col 50| Replace .split('').reverse() with ⏎························.split('')⏎························.reverse()⏎························
src/playground/blocks/block_calc.js|2460 col 1| Insert ····
src/playground/blocks/block_judgement.js|277 col 35| Replace ⏎····························[Lang.Blocks.is_type_number,·'number'],⏎························ with [Lang.Blocks.is_type_number,·'number']
src/class/engine.js
Outdated
| _addEventListener('entityClick', (entity) => { | ||
| const objId = entity.id; | ||
| Entry.stage.clickedObjectId = objId; | ||
| this.fireEventOnEntity('when_object_click', entity) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/class/engine.js
Outdated
| }); | ||
| _addEventListener('entityClickCanceled', (entity) => { | ||
| delete Entry.stage.clickedObjectId; | ||
| this.fireEventOnEntity('when_object_click_canceled', entity) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/class/engine.js
Outdated
| ) | ||
| .appendTo(this.view_) | ||
| .bindOnClick(function(e) { | ||
| .bindOnClick(function (e) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Delete ·
| .bindOnClick(function (e) { | |
| .bindOnClick(function(e) { |
src/class/engine.js
Outdated
| ) | ||
| .appendTo(this.view_) | ||
| .bindOnClick(function(e) { | ||
| .bindOnClick(function (e) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected space before function parentheses.
| .bindOnClick(function (e) { | |
| .bindOnClick(function(e) { |
src/class/engine.js
Outdated
| ) | ||
| .appendTo(this.view_) | ||
| .bindOnClick(function(e) { | ||
| .bindOnClick(function (e) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Delete ·
| .bindOnClick(function (e) { | |
| .bindOnClick(function(e) { |
src/class/engine.js
Outdated
| Entry.dispatchEvent('stop'); | ||
| Entry.stage.hideInputField(); | ||
| (function(w) { | ||
| (function (w) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Delete ·
| (function (w) { | |
| (function(w) { |
src/class/engine.js
Outdated
| Entry.dispatchEvent('stop'); | ||
| Entry.stage.hideInputField(); | ||
| (function(w) { | ||
| (function (w) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected space before function parentheses.
| (function (w) { | |
| (function(w) { |
src/class/engine.js
Outdated
| const index = this.execPromises.length; | ||
| promises.forEach((promise, i) => { | ||
| const execPromise = (async function() { | ||
| const execPromise = (async function () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Delete ·
| const execPromise = (async function () { | |
| const execPromise = (async function() { |
src/class/engine.js
Outdated
| const index = this.execPromises.length; | ||
| promises.forEach((promise, i) => { | ||
| const execPromise = (async function() { | ||
| const execPromise = (async function () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected space before function parentheses.
| const execPromise = (async function () { | |
| const execPromise = (async function() { |
| events: { | ||
| viewAdd: [ | ||
| function() { | ||
| function () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Delete ·
| function () { | |
| function() { |
| events: { | ||
| viewAdd: [ | ||
| function() { | ||
| function () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected space before function parentheses.
| function () { | |
| function() { |
| ], | ||
| viewDestroy: [ | ||
| function(block, notIncludeSelf) { | ||
| function (block, notIncludeSelf) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Delete ·
| function (block, notIncludeSelf) { | |
| function(block, notIncludeSelf) { |
| ], | ||
| viewDestroy: [ | ||
| function(block, notIncludeSelf) { | ||
| function (block, notIncludeSelf) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected space before function parentheses.
| function (block, notIncludeSelf) { | |
| function(block, notIncludeSelf) { |
| ], | ||
| dataDestroy: [ | ||
| function(block) { | ||
| function (block) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Delete ·
| function (block) { | |
| function(block) { |
| ], | ||
| dataDestroy: [ | ||
| function(block) { | ||
| function (block) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected space before function parentheses.
| function (block) { | |
| function(block) { |
| return Math.sqrt( | ||
| Math.pow(sprite.getX() - mousePos.x, 2) + | ||
| Math.pow(sprite.getY() - mousePos.y, 2) | ||
| Math.pow(sprite.getY() - mousePos.y, 2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Replace ···························· with ································
| Math.pow(sprite.getY() - mousePos.y, 2) | |
| Math.pow(sprite.getY() - mousePos.y, 2) |
| return Math.sqrt( | ||
| Math.pow(sprite.getX() - targetEntity.getX(), 2) + | ||
| Math.pow(sprite.getY() - targetEntity.getY(), 2) | ||
| Math.pow(sprite.getY() - targetEntity.getY(), 2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Replace ···························· with ································
| Math.pow(sprite.getY() - targetEntity.getY(), 2) | |
| Math.pow(sprite.getY() - targetEntity.getY(), 2) |
| isNotFor: [], | ||
| func(sprite, script) { | ||
| const originStr = script.getStringValue('STRING', script); | ||
| const reversedStr = originStr.split('').reverse().join(''); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Replace .split('').reverse() with ⏎························.split('')⏎························.reverse()⏎························
| const reversedStr = originStr.split('').reverse().join(''); | |
| const reversedStr = originStr | |
| .split('') | |
| .reverse() | |
| .join(''); |
| return script | ||
| .getStringValue('STRING', script) | ||
| [script.getField('CASE', script)](); | ||
| [script.getField('CASE', script)](); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Insert ····
| [script.getField('CASE', script)](); | |
| [script.getField('CASE', script)](); |
| options: [ | ||
| [Lang.Blocks.is_type_number, 'number'], | ||
| ], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Replace ⏎····························[Lang.Blocks.is_type_number,·'number'],⏎························ with [Lang.Blocks.is_type_number,·'number']
| options: [ | |
| [Lang.Blocks.is_type_number, 'number'], | |
| ], | |
| options: [[Lang.Blocks.is_type_number, 'number']], |
#5764