changed git call from https to git readonly
[atutor.git] / mods / hello_world / content_tool_action.js
1 /**\r
2  * This javascript is to perform the functionalities that are required to implement\r
3  * the add-on content tool. \r
4  * \r
5  * Register this javascript @ module.php => $this->_content_tools["js"] \r
6  */\r
7 \r
8 /*global jQuery*/\r
9 /*global ATutor */\r
10 /*global tinyMCE */\r
11 /*global window */\r
12 \r
13 ATutor = ATutor || {};\r
14 ATutor.mods = ATutor.mods || {};\r
15 ATutor.mods.hello_world = ATutor.mods.hello_world || {};\r
16 \r
17 (function () {\r
18     var helloWorldOnClick = function () {\r
19         alert("Clicked on hello world tool icon!");\r
20     }\r
21     \r
22         //set up click handlers and show/hide appropriate tools\r
23     var initialize = function () {\r
24         jQuery("#helloworld_tool").click(helloWorldOnClick);\r
25     };\r
26     \r
27     jQuery(document).ready(initialize);\r
28 })();