Can Webix be loaded via Requirejs like this
requirejs(‘webix’],function(webix) {
//use webix here
});
Can Webix be loaded via Requirejs like this
requirejs(‘webix’],function(webix) {
//use webix here
});
missing a bracket “[” before ‘webix’
I did. No problemo.
require([
“scripts/codebase/webix.js”,
“scripts/ext/mobile-detect.min.js”
],
function (w, mobil) {
Yes. We use RequireJS + Webix + AngularJS in our current project. But we don’t put “webix” as parameter as you declared. Because “webix” is global variable. We just require it and use it as normal.
I’m just a Webix client.
As stated above, webix uses global webix
namespace. So you can list the library in the list of dependencies, but, instead of a function parameter just use global webix
object.