Skip to content

Conversation

@Tnks2U
Copy link
Collaborator

@Tnks2U Tnks2U commented Mar 17, 2023

@Tnks2U Tnks2U requested review from kimorkim, leunge and prisml March 17, 2023 08:31
@Tnks2U Tnks2U self-assigned this Mar 17, 2023
@github-actions github-actions bot added the issue 내부 이슈 처리를 위한 PR label Mar 17, 2023
Copy link
Contributor

@github-actions github-actions bot left a 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']

_addEventListener('entityClick', (entity) => {
const objId = entity.id;
Entry.stage.clickedObjectId = objId;
this.fireEventOnEntity('when_object_click', entity)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <semi> reported by reviewdog 🐶
Missing semicolon.

Suggested change
this.fireEventOnEntity('when_object_click', entity)
this.fireEventOnEntity('when_object_click', entity);

});
_addEventListener('entityClickCanceled', (entity) => {
delete Entry.stage.clickedObjectId;
this.fireEventOnEntity('when_object_click_canceled', entity)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <semi> reported by reviewdog 🐶
Missing semicolon.

Suggested change
this.fireEventOnEntity('when_object_click_canceled', entity)
this.fireEventOnEntity('when_object_click_canceled', entity);

)
.appendTo(this.view_)
.bindOnClick(function(e) {
.bindOnClick(function (e) {
Copy link
Contributor

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 ·

Suggested change
.bindOnClick(function (e) {
.bindOnClick(function(e) {

)
.appendTo(this.view_)
.bindOnClick(function(e) {
.bindOnClick(function (e) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <space-before-function-paren> reported by reviewdog 🐶
Unexpected space before function parentheses.

Suggested change
.bindOnClick(function (e) {
.bindOnClick(function(e) {

)
.appendTo(this.view_)
.bindOnClick(function(e) {
.bindOnClick(function (e) {
Copy link
Contributor

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 ·

Suggested change
.bindOnClick(function (e) {
.bindOnClick(function(e) {

Entry.dispatchEvent('stop');
Entry.stage.hideInputField();
(function(w) {
(function (w) {
Copy link
Contributor

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 ·

Suggested change
(function (w) {
(function(w) {

Entry.dispatchEvent('stop');
Entry.stage.hideInputField();
(function(w) {
(function (w) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <space-before-function-paren> reported by reviewdog 🐶
Unexpected space before function parentheses.

Suggested change
(function (w) {
(function(w) {

const index = this.execPromises.length;
promises.forEach((promise, i) => {
const execPromise = (async function() {
const execPromise = (async function () {
Copy link
Contributor

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 ·

Suggested change
const execPromise = (async function () {
const execPromise = (async function() {

const index = this.execPromises.length;
promises.forEach((promise, i) => {
const execPromise = (async function() {
const execPromise = (async function () {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <space-before-function-paren> reported by reviewdog 🐶
Unexpected space before function parentheses.

Suggested change
const execPromise = (async function () {
const execPromise = (async function() {

events: {
viewAdd: [
function() {
function () {
Copy link
Contributor

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 ·

Suggested change
function () {
function() {

events: {
viewAdd: [
function() {
function () {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <space-before-function-paren> reported by reviewdog 🐶
Unexpected space before function parentheses.

Suggested change
function () {
function() {

],
viewDestroy: [
function(block, notIncludeSelf) {
function (block, notIncludeSelf) {
Copy link
Contributor

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 ·

Suggested change
function (block, notIncludeSelf) {
function(block, notIncludeSelf) {

],
viewDestroy: [
function(block, notIncludeSelf) {
function (block, notIncludeSelf) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <space-before-function-paren> reported by reviewdog 🐶
Unexpected space before function parentheses.

Suggested change
function (block, notIncludeSelf) {
function(block, notIncludeSelf) {

],
dataDestroy: [
function(block) {
function (block) {
Copy link
Contributor

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 ·

Suggested change
function (block) {
function(block) {

],
dataDestroy: [
function(block) {
function (block) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <space-before-function-paren> reported by reviewdog 🐶
Unexpected space before function parentheses.

Suggested change
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)
Copy link
Contributor

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 ································

Suggested change
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)
Copy link
Contributor

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 ································

Suggested change
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('');
Copy link
Contributor

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()⏎························

Suggested change
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)]();
Copy link
Contributor

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 ····

Suggested change
[script.getField('CASE', script)]();
[script.getField('CASE', script)]();

Comment on lines +277 to +279
options: [
[Lang.Blocks.is_type_number, 'number'],
],
Copy link
Contributor

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']

Suggested change
options: [
[Lang.Blocks.is_type_number, 'number'],
],
options: [[Lang.Blocks.is_type_number, 'number']],

@leunge leunge merged commit 82f0d5e into develop Mar 24, 2023
@leunge leunge deleted the issue/5764 branch March 24, 2023 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

issue 내부 이슈 처리를 위한 PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants