Changeset 1022 for trunk/autoquest-htmlmonitor/src/main/js
- Timestamp:
- 12/14/12 16:16:16 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-htmlmonitor/src/main/js/autoquest-htmlmonitor.js
r1021 r1022 342 342 343 343 /** 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 345 352 */ 346 353 function addEventHandling(node, parentPath) { … … 354 361 355 362 /** 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 357 368 */ 358 369 function addEventHandlingWithoutJQuery(node, parentPath) { … … 372 383 373 384 /** 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 375 391 */ 376 392 function addEventHandlingWithJQuery(node, parentPath) { … … 406 422 407 423 /** 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 409 432 */ 410 433 function adaptEventHandlingAttribute(node, nodePath, action) {
Note: See TracChangeset
for help on using the changeset viewer.