Ignore:
Timestamp:
12/14/12 16:16:16 (12 years ago)
Author:
pharms
Message:
  • removed todos
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-htmlmonitor/src/main/js/autoquest-htmlmonitor.js

    r1021 r1022  
    342342 
    343343/** 
    344  * TODO comment 
     344 * adds event handling functionality to the provided node. Calls 
     345 * {@link #addEventHandlingWithJQuery(node,parentPath)} or 
     346 * {@link #addEventHandlingWithoutJQuery(node,parentPath)} depending on the fact if jQuery is 
     347 * available and must therefore be used, or not. 
     348 *  
     349 * @param node       the node of the DOM structure that shall be equipped with event handling 
     350 * @param parentPath the path to the parent node of the provided node within the DOM-structure of 
     351 *                   the HTML-site 
    345352 */ 
    346353function addEventHandling(node, parentPath) { 
     
    354361 
    355362/** 
    356  * TODO comment 
     363 * adds event handling functionality to the provided node using onxxx attributes 
     364 *  
     365 * @param node       the node of the DOM structure that shall be equipped with event handling 
     366 * @param parentPath the path to the parent node of the provided node within the DOM-structure of 
     367 *                   the HTML-site 
    357368 */ 
    358369function addEventHandlingWithoutJQuery(node, parentPath) { 
     
    372383 
    373384/** 
    374  * TODO comment 
     385 * adds event handling functionality to the provided node using jQuery attributes. If the node 
     386 * already used onxxx attributes, these are extended instead of using jQuery. 
     387 *  
     388 * @param node       the node of the DOM structure that shall be equipped with event handling 
     389 * @param parentPath the path to the parent node of the provided node within the DOM-structure of 
     390 *                   the HTML-site 
    375391 */ 
    376392function addEventHandlingWithJQuery(node, parentPath) { 
     
    406422 
    407423/** 
    408  * TODO comment 
     424 * adapts the event handling attributed provided by the action parameter so that it calls 
     425 * the {@link #handleEvent(node, action, path, even)} function in the case the event occurs. 
     426 * Either the method creates an appropriate onxxx attribute on the node if there is none, or it 
     427 * adds a call to the function as first thing called by the onxxx attribute. 
     428 *  
     429 * @param node     the node of the DOM structure that shall be equipped with event handling 
     430 * @param nodePath the path to node within the DOM-structure of the HTML-site 
     431 * @param action   the event for which event handling shall be enabled 
    409432 */ 
    410433function adaptEventHandlingAttribute(node, nodePath, action) { 
Note: See TracChangeset for help on using the changeset viewer.