Hi Manuel,
We have used methods defined in the intelligentshapes.js file in palette.js files. To access the methods in intelligentshapes.js file, we have used the below code example in the palette.js file.
Code example:
Palette.js
var intelligentShape = require('helper/intelligentshapes');
The palette items defined in the palette.js renders after rendering of the symbol palette. This is due to page load function defined in the palette.js file triggers after the symbol palette rendering which is in symbolpalette.js file. So we have commented page load function in palette.js file. Please refer to the code example.
Code example:
Palette.js
//$(function () {
//});
We have modified your sample and it is available in the below link for download.
Regards,
Shyam G