When you build master and launch the application, you'll get a javascript error in the browser. The problem is that some coffeescript gets translated into incorrect javascript:
Note that there's a closing parenthesis missing after 'ui.sortable']. This is because the coffeescript compiler used is version 1.6.3 which doesn't correctly handle angularjs code.
The correct version 1.8.0 is specified in gui/frontend/bower.json, but it never gets called. Instead, an npm package (karma) forces installation of coffeescript 1.6.3 into gui/frontend/node_modules which is then used in the build.
There's an easy fix: Add "coffee-script": "1.8.0" to gui/frontend/package.json in section devDependencies.
(There's also a second error that this fixes: the older coffeescript didn't support the power operator, eg. 3 ** 3)
When you build master and launch the application, you'll get a javascript error in the browser. The problem is that some coffeescript gets translated into incorrect javascript:
Note that there's a closing parenthesis missing after
'ui.sortable']
. This is because the coffeescript compiler used is version 1.6.3 which doesn't correctly handle angularjs code.The correct version 1.8.0 is specified in
gui/frontend/bower.json
, but it never gets called. Instead, an npm package (karma) forces installation of coffeescript 1.6.3 intogui/frontend/node_modules
which is then used in the build.There's an easy fix: Add
"coffee-script": "1.8.0"
togui/frontend/package.json
in sectiondevDependencies
.(There's also a second error that this fixes: the older coffeescript didn't support the power operator, eg.
3 ** 3
)