RequireJs Module
RequireJs Module

Hi I'm using requireJs and dataTable plugin that I initialize in my App, after that I require a module and pass the reference of my dataTable in it, like that:
require(["controller/search"], function (search) {
table.search = search;
table.search .init(that.dataTable);
});
The strange thing is that I can access some basics informations in my search module like:
this.dataTable.page.info();
but I can't access:
this.dataTable.search( this.value ).draw(); -> return is not a function()
Am I doing something wrong ?
This discussion has been closed.
Answers
Can you link to a test case showing the issue, per the forum rules please.
Allan