You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
src/entity.js:440: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if (!colour)
^
src/entity.js:462: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if (!colour)
^
src/entity.js:687: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if (text === undefined)
^
src/entity.js:778: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if(visible === undefined)
^
src/hw.js:396: WARNING - Suspicious code. The result of the 'getprop' operator is not being used.
this._w.location.href;
^
src/init.js:103: WARNING - unreachable code
for (var i = 0; i < filenames.length; i++) {
^
src/init.js:347: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if (!this.FPS)
^
src/log/state.js:24: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if (arguments.length > 3)
^
src/object.js:1218: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if(!rotateMethod)
^
src/playground.js:794: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if (!object) {
^
src/popup_helper.js:13: WARNING - Suspicious code. The result of the 'getprop' operator is not being used.
this.nowContent;
^
src/stamp_entity.js:27: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
} else if (this.type == 'textBox') {}
^
src/textcoding/parser/core/block/blockToPy.js:314: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
if(this._parseMode == Entry.Parser.PARSE_VARIABLE) { //In PARSE_VARIABLE Mode
^
src/textcoding/parser/core/block/blockToPy.js:315: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
if(this._currentBlockSkeleton == Entry.Parser.BLOCK_SKELETON_BASIC_LOOP ||
^
src/textcoding/parser/core/block/blockToPy.js:317: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
if(this._currentBlockParamsKeyMap) { //If Block has Parameters
^
src/textcoding/parser/core/block/blockToPy.js:318: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
if(j == 0) { //The beginning of Block Statement
^
src/textcoding/parser/core/text/jsToBlock.js:523: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^
src/textcoding/parser/core/text/jsToBlock.js:574: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^
src/textcoding/parser/core/text/jsToBlock.js:677: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^
src/textcoding/parser/core/text/jsToBlock.js:717: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^
src/textcoding/parser/core/text/pyToBlock.js:104: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = component.arguments;
^
src/textcoding/parser/core/text/pyToBlock.js:513: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = initData.arguments;
^
src/textcoding/parser/core/text/pyToBlock.js:541: WARNING - Comparison against NaN is always false. Did you mean isNaN()?
if(value && value != NaN) {
^
src/textcoding/parser/core/text/pyToBlock.js:860: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = propertyData.arguments;
^
src/textcoding/parser/core/text/pyToBlock.js:947: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
} else if(test.value === false) {
^
src/textcoding/parser/core/text/pyToBlock.js:958: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^
src/textcoding/parser/core/text/pyToBlock.js:1184: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^
src/textcoding/parser/core/text/pyToBlock.js:1432: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^
src/textcoding/parser/core/text/pyToBlock.js:1480: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^
src/textcoding/parser/core/text/pyToBlock.js:1576: WARNING - Duplicate case in a switch statement.
case "|": break;
^
src/textcoding/parser/core/text/pyToBlock.js:1599: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^
src/textcoding/parser/core/text/pyToBlock.js:1663: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^
src/textcoding/parser/core/text/pyToBlock.js:1793: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = rightData.arguments;
^
src/textcoding/parser/core/text/pyToBlock.js:1937: WARNING - Comparison against NaN is always false. Did you mean isNaN()?
if(value && value != NaN) {
^
src/textcoding/parser/core/text/pyToBlock.js:1968: WARNING - Comparison against NaN is always false. Did you mean isNaN()?
if(value && value != NaN) {
^
src/textcoding/parser/core/text/pyToBlock.js:2382: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = component.arguments;
^
src/textcoding/temp/pyBlockAssembler.js:183: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = component.arguments;
^
src/textcoding/temp/pyBlockAssembler.js:462: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
} else if(test.value == false) {
^
src/textcoding/util/textCodingUtil.js:15: WARNING - Suspicious code. The result of the 'getprop' operator is not being used.
p._funcParamQ;
^
src/util/utils.js:719: WARNING - If this if/for/while really shouldn't have a body, use {}
for(var i=-1,l=nl.length;++i!==l;arr[i]=nl[i]);
^
src/variable.js:659: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
width = width < 100 ? 100 : width;
^
src/variable.js:685: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
height = height < 100 ? 100 : height;
^
src/entity.js:440: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if (!colour)
^
src/entity.js:462: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if (!colour)
^
src/entity.js:687: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if (text === undefined)
^
src/entity.js:778: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if(visible === undefined)
^
src/hw.js:396: WARNING - Suspicious code. The result of the 'getprop' operator is not being used.
this._w.location.href;
^
src/init.js:103: WARNING - unreachable code
for (var i = 0; i < filenames.length; i++) {
^
src/init.js:347: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if (!this.FPS)
^
src/log/state.js:24: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if (arguments.length > 3)
^
src/object.js:1218: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if(!rotateMethod)
^
src/playground.js:794: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
if (!object) {
^
src/popup_helper.js:13: WARNING - Suspicious code. The result of the 'getprop' operator is not being used.
this.nowContent;
^
src/stamp_entity.js:27: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
} else if (this.type == 'textBox') {}
^
src/textcoding/parser/core/block/blockToPy.js:314: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
if(this._parseMode == Entry.Parser.PARSE_VARIABLE) { //In PARSE_VARIABLE Mode
^
src/textcoding/parser/core/block/blockToPy.js:315: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
if(this._currentBlockSkeleton == Entry.Parser.BLOCK_SKELETON_BASIC_LOOP ||
^
src/textcoding/parser/core/block/blockToPy.js:317: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
if(this._currentBlockParamsKeyMap) { //If Block has Parameters
^
src/textcoding/parser/core/block/blockToPy.js:318: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
if(j == 0) { //The beginning of Block Statement
^
src/textcoding/parser/core/text/jsToBlock.js:523: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^
src/textcoding/parser/core/text/jsToBlock.js:574: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^
src/textcoding/parser/core/text/jsToBlock.js:677: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^
src/textcoding/parser/core/text/jsToBlock.js:717: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^
src/textcoding/parser/core/text/pyToBlock.js:104: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = component.arguments;
^
src/textcoding/parser/core/text/pyToBlock.js:513: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = initData.arguments;
^
src/textcoding/parser/core/text/pyToBlock.js:541: WARNING - Comparison against NaN is always false. Did you mean isNaN()?
if(value && value != NaN) {
^
src/textcoding/parser/core/text/pyToBlock.js:860: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = propertyData.arguments;
^
src/textcoding/parser/core/text/pyToBlock.js:947: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
} else if(test.value === false) {
^
src/textcoding/parser/core/text/pyToBlock.js:958: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^
src/textcoding/parser/core/text/pyToBlock.js:1184: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^
src/textcoding/parser/core/text/pyToBlock.js:1432: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^
src/textcoding/parser/core/text/pyToBlock.js:1480: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^
src/textcoding/parser/core/text/pyToBlock.js:1576: WARNING - Duplicate case in a switch statement.
case "|": break;
^
src/textcoding/parser/core/text/pyToBlock.js:1599: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^
src/textcoding/parser/core/text/pyToBlock.js:1663: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = [];
^
src/textcoding/parser/core/text/pyToBlock.js:1793: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = rightData.arguments;
^
src/textcoding/parser/core/text/pyToBlock.js:1937: WARNING - Comparison against NaN is always false. Did you mean isNaN()?
if(value && value != NaN) {
^
src/textcoding/parser/core/text/pyToBlock.js:1968: WARNING - Comparison against NaN is always false. Did you mean isNaN()?
if(value && value != NaN) {
^
src/textcoding/parser/core/text/pyToBlock.js:2382: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = component.arguments;
^
src/textcoding/temp/pyBlockAssembler.js:183: WARNING - "arguments" cannot be redeclared in ES5 strict mode
var arguments = component.arguments;
^
src/textcoding/temp/pyBlockAssembler.js:462: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
} else if(test.value == false) {
^
src/textcoding/util/textCodingUtil.js:15: WARNING - Suspicious code. The result of the 'getprop' operator is not being used.
p._funcParamQ;
^
src/util/utils.js:719: WARNING - If this if/for/while really shouldn't have a body, use {}
for(var i=-1,l=nl.length;++i!==l;arr[i]=nl[i]);
^
src/variable.js:659: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
width = width < 100 ? 100 : width;
^
src/variable.js:685: WARNING - Misplaced type annotation. Type annotations are not allowed here. Are you missing parentheses?
height = height < 100 ? 100 : height;
^
entryJS grunt 실행 시 에러가 발생하여 문의를 드립니다.
== 개발환경 구축 참고문서
https://entrylabs.github.io/entry-hw/page/2_SettingEnvironments/
== 빌드 환경
windows 10 64bit
javac 1.7.0_79
node.js v5.12.0
grunt-cli v1.2.0
grunt v0.4.5
아래는 소스 다운로드 후 수정없이 grunt실행 한 결과 입니다.
== 에러 요약
== 에러 로그
C:\entry_dev\src_online\entryjs>grunt
Running "closureCompiler:targetName" (closureCompiler) task
Executing: java -jar "node_modules/closurecompiler/compiler/compiler.jar" --js src/entry.js --js src/blocks/block_albert.js --js src/blocks/block_arduino.js --js src/blocks/block_bitbrick.js --js src/blocks/block_brush.js --js src/blocks/block_calc.js --js src/blocks/block_cobl.js --js src/blocks/block_codestar.js --js src/blocks/block_ev3.js --js src/blocks/block_flow.js --js src/blocks/block_function.js --js src/blocks/block_hamster.js --js src/blocks/block_judgement.js --js src/blocks/block_looks.js --js src/blocks/block_moving.js --js src/blocks/block_neobot.js --js src/blocks/block_roborobo.js --js src/blocks/block_robotis.js --js src/blocks/block_robotori.js --js src/blocks/block_scene.js --js src/blocks/block_sound.js --js src/blocks/block_start.js --js src/blocks/block_text.js --js src/blocks/block_variable.js --js src/blocks/block_xbot.js --js src/class/collection.js --js src/class/event.js --js src/class/model.js --js src/class/observer.js --js src/command/command.js --js src/command/commander.js --js src/command/commands/block.js --js src/command/commands/object.js --js src/command/commands/painter.js --js src/container.js --js src/core/db.js --js src/core/dom.js --js src/core/engine.js --js src/core/hw.js --js src/core/script.js --js src/core/svg.js --js src/dialog.js --js src/doneProject.js --js src/engine.js --js src/entity.js --js src/function.js --js src/helper.js --js src/hw.js --js src/hw_monitor.js --js src/init.js --js src/log/activity.js --js src/log/activityReporter.js --js src/log/state.js --js src/log/state_manager.js --js src/model/block_model.js --js src/model/block_render_model.js --js src/model/box_model.js --js src/model/drag_instance.js --js src/model/thread_model.js --js src/object.js --js src/painter.js --js src/painter2.js --js src/parser/block.js --js src/parser/js.js --js src/parser/parser.js --js src/pdf.js --js src/playground.js --js src/popup.js --js src/popup_helper.js --js src/project.js --js src/property_panel.js --js src/reporter.js --js src/scene.js --js src/script.js --js src/stage.js --js src/stamp_entity.js --js src/textcoding/ast/jsAstGenerator.js --js src/textcoding/ast/pyAstGenerator.js --js src/textcoding/data_processing/map.js --js src/textcoding/data_processing/queue.js --js src/textcoding/hint/python.js --js src/textcoding/parser.js --js src/textcoding/parser/core/block/blockToJs.js --js src/textcoding/parser/core/block/blockToPy.js --js src/textcoding/parser/core/text/jsToBlock.js --js src/textcoding/parser/core/text/pyToBlock.js --js src/textcoding/static/keyboardCode.js --js src/textcoding/temp/pyBlockAssembler.js --js src/textcoding/temp/pyToBlockTemp.js --js src/textcoding/util/console.js --js src/textcoding/util/textCodingUtil.js --js src/toast.js --js src/tvCast.js --js src/util/block_driver.js --js src/util/contextmenu.js --js src/util/loader.js --js src/util/popup.js --js src/util/static.js --js src/util/toast.js --js src/util/utils.js --js src/variable.js --js src/variable_container.js --js src/view/canvas/dialog.js --js src/view/canvas/variable_view.js --js src/workspace/basic_block.js --js src/workspace/block.js --js src/workspace/block_menu.js --js src/workspace/block_menu_scroll.js --js src/workspace/block_view.js --js src/workspace/board.js --js src/workspace/code.js --js src/workspace/code_view.js --js src/workspace/connection_ripple.js --js src/workspace/executors.js --js src/workspace/extension/extension.js --js src/workspace/extension/guide.js --js src/workspace/extension/side_tag.js --js src/workspace/field/angle.js --js src/workspace/field/block.js --js src/workspace/field/color.js --js src/workspace/field/dropdown.js --js src/workspace/field/dropdownDynamic.js --js src/workspace/field/field.js --js src/workspace/field/image.js --js src/workspace/field/indicator.js --js src/workspace/field/keyboardInput.js --js src/workspace/field/lineBreak.js --js src/workspace/field/output.js --js src/workspace/field/statement.js --js src/workspace/field/text.js --js src/workspace/field/textInput.js --js src/workspace/globalSvg.js --js src/workspace/mutator.js --js src/workspace/renderView.js --js src/workspace/scroll.js --js src/workspace/skeleton.js --js src/workspace/skinner.js --js src/workspace/thread.js --js src/workspace/thread_view.js --js src/workspace/trashcan.js --js src/workspace/vim.js --js src/workspace/workspace.js --js src/xml.js --js src/youtube.js --js_output_file=dist/entry.js --create_source_map entry.js.map --compilation_level SIMPLE_OPTIMIZATIONS --language_in ECMASCRIPT5 --language_out ECMASCRIPT5 --formatting pretty_print
Running "closureCompiler:dist" (closureCompiler) task
Executing: java -jar "node_modules/closurecompiler/compiler/compiler.jar" --js src/entry.js --js src/blocks/block_albert.js --js src/blocks/block_arduino.js --js src/blocks/block_bitbrick.js --js src/blocks/block_brush.js --js src/blocks/block_calc.js --js src/blocks/block_cobl.js --js src/blocks/block_codestar.js --js src/blocks/block_ev3.js --js src/blocks/block_flow.js --js src/blocks/block_function.js --js src/blocks/block_hamster.js --js src/blocks/block_judgement.js --js src/blocks/block_looks.js --js src/blocks/block_moving.js --js src/blocks/block_neobot.js --js src/blocks/block_roborobo.js --js src/blocks/block_robotis.js --js src/blocks/block_robotori.js --js src/blocks/block_scene.js --js src/blocks/block_sound.js --js src/blocks/block_start.js --js src/blocks/block_text.js --js src/blocks/block_variable.js --js src/blocks/block_xbot.js --js src/class/collection.js --js src/class/event.js --js src/class/model.js --js src/class/observer.js --js src/command/command.js --js src/command/commander.js --js src/command/commands/block.js --js src/command/commands/object.js --js src/command/commands/painter.js --js src/container.js --js src/core/db.js --js src/core/dom.js --js src/core/engine.js --js src/core/hw.js --js src/core/script.js --js src/core/svg.js --js src/dialog.js --js src/doneProject.js --js src/engine.js --js src/entity.js --js src/function.js --js src/helper.js --js src/hw.js --js src/hw_monitor.js --js src/init.js --js src/log/activity.js --js src/log/activityReporter.js --js src/log/state.js --js src/log/state_manager.js --js src/model/block_model.js --js src/model/block_render_model.js --js src/model/box_model.js --js src/model/drag_instance.js --js src/model/thread_model.js --js src/object.js --js src/painter.js --js src/painter2.js --js src/parser/block.js --js src/parser/js.js --js src/parser/parser.js --js src/pdf.js --js src/playground.js --js src/popup.js --js src/popup_helper.js --js src/project.js --js src/property_panel.js --js src/reporter.js --js src/scene.js --js src/script.js --js src/stage.js --js src/stamp_entity.js --js src/textcoding/ast/jsAstGenerator.js --js src/textcoding/ast/pyAstGenerator.js --js src/textcoding/data_processing/map.js --js src/textcoding/data_processing/queue.js --js src/textcoding/hint/python.js --js src/textcoding/parser.js --js src/textcoding/parser/core/block/blockToJs.js --js src/textcoding/parser/core/block/blockToPy.js --js src/textcoding/parser/core/text/jsToBlock.js --js src/textcoding/parser/core/text/pyToBlock.js --js src/textcoding/static/keyboardCode.js --js src/textcoding/temp/pyBlockAssembler.js --js src/textcoding/temp/pyToBlockTemp.js --js src/textcoding/util/console.js --js src/textcoding/util/textCodingUtil.js --js src/toast.js --js src/tvCast.js --js src/util/block_driver.js --js src/util/contextmenu.js --js src/util/loader.js --js src/util/popup.js --js src/util/static.js --js src/util/toast.js --js src/util/utils.js --js src/variable.js --js src/variable_container.js --js src/view/canvas/dialog.js --js src/view/canvas/variable_view.js --js src/workspace/basic_block.js --js src/workspace/block.js --js src/workspace/block_entry.js --js src/workspace/block_menu.js --js src/workspace/block_menu_scroll.js --js src/workspace/block_view.js --js src/workspace/board.js --js src/workspace/code.js --js src/workspace/code_view.js --js src/workspace/connection_ripple.js --js src/workspace/executors.js --js src/workspace/extension/extension.js --js src/workspace/extension/guide.js --js src/workspace/extension/side_tag.js --js src/workspace/field/angle.js --js src/workspace/field/block.js --js src/workspace/field/color.js --js src/workspace/field/dropdown.js --js src/workspace/field/dropdownDynamic.js --js src/workspace/field/field.js --js src/workspace/field/image.js --js src/workspace/field/indicator.js --js src/workspace/field/keyboardInput.js --js src/workspace/field/lineBreak.js --js src/workspace/field/output.js --js src/workspace/field/statement.js --js src/workspace/field/text.js --js src/workspace/field/textInput.js --js src/workspace/globalSvg.js --js src/workspace/mutator.js --js src/workspace/renderView.js --js src/workspace/scroll.js --js src/workspace/skeleton.js --js src/workspace/skinner.js --js src/workspace/thread.js --js src/workspace/thread_view.js --js src/workspace/trashcan.js --js src/workspace/vim.js --js src/workspace/workspace.js --js src/xml.js --js src/youtube.js --js_output_file=dist/entry.min.js --compilation_level SIMPLE_OPTIMIZATIONS --language_in ECMASCRIPT5 --language_out ECMASCRIPT5
Running "karma:unit" (karma) task
Fatal error: The header content contains invalid characters
The text was updated successfully, but these errors were encountered: