(SOLVED)[ERROR] invalid return: return DataTable.settings[i].oInstance;
(SOLVED)[ERROR] invalid return: return DataTable.settings[i].oInstance;
abeing
Posts: 2Questions: 0Answers: 0
Hi,
I just downloaded the latest version(1.9.4) and tried to include it into my atlassian-jira-gadget, but after running the installation again,
the internal YUI javascript compiler threw this error:
[INFO] Compiling javascript using YUI
[INFO] compressing to /Users/xxx/target/classes/datatable/js/jquery.dataTables.min-min.js
[INFO] compressing to /Users/xxx/target/classes/datatable/src/api/api.internal-min.js
[INFO] compressing to /Users/xxx/target/classes/datatable/src/api/api.methods-min.js
[INFO] compressing to /Users/xxx/target/classes/datatable/src/api/api.static-min.js
[INFO] compressing to /Users/xxx/target/classes/datatable/src/core/core.ajax-min.js
[INFO] compressing to /Users/xxx/target/classes/datatable/src/core/core.columns-min.js
[INFO] compressing to /Users/xxx/target/classes/datatable/src/core/core.constructor-min.js
[ERROR] invalid return
return;
[ERROR] invalid return
return DataTable.settings[i].oInstance;
[ERROR] invalid return
return;
[ERROR] Compilation produced 3 syntax errors.
[ERROR] Unable to complete running command: pi
I have included jquery.colorpicker, and Flexigrid without any of these errors. they run fine. So I think this error really belongs to DataTables.
Can you please help me?
Thanks
I just downloaded the latest version(1.9.4) and tried to include it into my atlassian-jira-gadget, but after running the installation again,
the internal YUI javascript compiler threw this error:
[INFO] Compiling javascript using YUI
[INFO] compressing to /Users/xxx/target/classes/datatable/js/jquery.dataTables.min-min.js
[INFO] compressing to /Users/xxx/target/classes/datatable/src/api/api.internal-min.js
[INFO] compressing to /Users/xxx/target/classes/datatable/src/api/api.methods-min.js
[INFO] compressing to /Users/xxx/target/classes/datatable/src/api/api.static-min.js
[INFO] compressing to /Users/xxx/target/classes/datatable/src/core/core.ajax-min.js
[INFO] compressing to /Users/xxx/target/classes/datatable/src/core/core.columns-min.js
[INFO] compressing to /Users/xxx/target/classes/datatable/src/core/core.constructor-min.js
[ERROR] invalid return
return;
[ERROR] invalid return
return DataTable.settings[i].oInstance;
[ERROR] invalid return
return;
[ERROR] Compilation produced 3 syntax errors.
[ERROR] Unable to complete running command: pi
I have included jquery.colorpicker, and Flexigrid without any of these errors. they run fine. So I think this error really belongs to DataTables.
Can you please help me?
Thanks
This discussion has been closed.
Replies
Allan
It works now!
I wish you the best