Skip to content

Commit

Permalink
Convert Manager and EditDepartment JS over to webpack.
Browse files Browse the repository at this point in the history
* Add entry point to webpack configs.
* Update DepartmentUI.php to no longr call javascriptMod
* Add script tag to edit_department.tpl
* Fix eslint warnings in Manager.jsx and add imports
* Fix eslint warnings in edit_department.tpl
  • Loading branch information
jlbooker committed Oct 5, 2016
1 parent 37faee2 commit 8bee61b
Show file tree
Hide file tree
Showing 12 changed files with 22,533 additions and 140 deletions.
3 changes: 0 additions & 3 deletions class/UI/DepartmentUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ public function display()
}

$tpl = array();
\javascript('/jquery/');
\javascriptMod('intern', 'manager');
\javascriptMod('intern', 'editDepartment');

return \PHPWS_Template::process($tpl, 'intern', 'edit_department.tpl');
}
Expand Down
2 changes: 1 addition & 1 deletion javascript/dist/createInterface.dev.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion javascript/dist/editAdmin.dev.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 8bee61b

Please sign in to comment.