I try to modify the source code on this js file :
knime_3.6.0\plugins\org.knime.js.views_3.6.0.v201807091518\js-src\org\knime\js\base\node\viz\plotter\line\knime-line-plot.js
Now the Line Plot(JavaScript) node changed and works well when I reboot KNIME .
I want using AngularJS or 3rd js library in knime-line-plot.js ,when i import js file by using require.js ,it not work.
My code like this:
require.config({
paths: {
alertify: "http://apps.bdimg.com/libs/alertify.js/0.3.11/alertify.min"
}
});
require(["alertify"], function(alertify) {
alertify.alert('mssages');
});
And when i reboot KNIME to view this node, i got this error:
require is not defined
So how can i import 3rd js library ?
Thanks !