I download this project: https://github.com/Tasarinan/editor-framework
I follow all steps: 1) I install Polymer and Electron (and other: phyton, nodejs ecc.) 2) Run all commands: sh utils/npm.sh install bower install gulp update-electron sh utils/install-builtin.sh sh demo.sh
The project run fine, but when I open the Grid Panel I have this error: Uncaught SyntaxError: Unexpected token ) (line 1) Uncaught SyntaxError: Unexpected token ) (line 28) ecc.
(() => { // (line 1)
//*************************
Editor.polymerElement({
properties: {
debugInfo: {
type: Object,
value: () => { return { // (Line 28)
xAxisScale: 0,
xMinLevel: 0,
xMaxLevel: 0,
yAxisScale: 0,
yMinLevel: 0,
yMaxLevel: 0,
}; },
},
This is the link of the code: https://github.com/cocos-creator-packages/ui-grid/blob/master/widget/pixi-grid.js
I don't understand these commands ()=>{} What library I have to add??
Sorry for my bad english and thanks for Help.