analytics.js 500 B

12345678910111213141516171819202122
  1. define(['jquery', 'bootstrap', 'backend', 'form', 'table'], function ($, undefined, Backend, Form, Table) {
  2. var Controller = {
  3. index: function () {
  4. },
  5. add: function () {
  6. Controller.api.bindevent();
  7. },
  8. edit: function () {
  9. Controller.api.bindevent();
  10. },
  11. api: {
  12. bindevent: function () {
  13. Form.api.bindevent($("form[role=form]"));
  14. },
  15. }
  16. };
  17. return Controller;
  18. });