420 </dd> |
424 </dd> |
421 </dl> |
425 </dl> |
422 <div align="right"><a href="#top">Up</a></div> |
426 <div align="right"><a href="#top">Up</a></div> |
423 <hr /> |
427 <hr /> |
424 <hr /> |
428 <hr /> |
|
429 <a NAME="clearModulesCache" ID="clearModulesCache"></a> |
|
430 <h2>clearModulesCache</h2> |
|
431 <b>clearModulesCache</b>(<i></i>) |
|
432 |
|
433 <p> |
|
434 Function to clear the cached modules. |
|
435 </p> |
|
436 <div align="right"><a href="#top">Up</a></div> |
|
437 <hr /> |
|
438 <hr /> |
425 <a NAME="readmodule_ex" ID="readmodule_ex"></a> |
439 <a NAME="readmodule_ex" ID="readmodule_ex"></a> |
426 <h2>readmodule_ex</h2> |
440 <h2>readmodule_ex</h2> |
427 <b>readmodule_ex</b>(<i>module, path=None</i>) |
441 <b>readmodule_ex</b>(<i>module, path=None, isTypeFile=False</i>) |
428 |
442 |
429 <p> |
443 <p> |
430 Read a JavaScript file and return a dictionary of functions and variables. |
444 Read a JavaScript file and return a dictionary of functions and variables. |
431 </p> |
445 </p> |
432 <dl> |
446 <dl> |
433 |
447 |
434 <dt><i>module</i></dt> |
448 <dt><i>module</i> (str)</dt> |
435 <dd> |
449 <dd> |
436 name of the JavaScript file (string) |
450 name of the JavaScript file |
437 </dd> |
451 </dd> |
438 <dt><i>path</i></dt> |
452 <dt><i>path</i> (list of str)</dt> |
439 <dd> |
453 <dd> |
440 path the file should be searched in (list of strings) |
454 path the file should be searched in |
|
455 </dd> |
|
456 <dt><i>isTypeFile</i> (bool)</dt> |
|
457 <dd> |
|
458 flag indicating a file of this type |
441 </dd> |
459 </dd> |
442 </dl> |
460 </dl> |
443 <dl> |
461 <dl> |
444 <dt>Return:</dt> |
462 <dt>Return:</dt> |
445 <dd> |
463 <dd> |
446 the resulting dictionary |
464 the resulting dictionary |
|
465 </dd> |
|
466 </dl> |
|
467 <dl> |
|
468 <dt>Return Type:</dt> |
|
469 <dd> |
|
470 dict |
447 </dd> |
471 </dd> |
448 </dl> |
472 </dl> |
449 <div align="right"><a href="#top">Up</a></div> |
473 <div align="right"><a href="#top">Up</a></div> |
450 <hr /> |
474 <hr /> |
451 <hr /> |
475 <hr /> |