Changeset 15273 for trunk


Ignore:
Timestamp:
04/07/13 23:51:06 (12 years ago)
Author:
tbretz
Message:
Added explanation for new magic variables.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/scripts/doc/_global_.js

    r15113 r15273  
    3636 */
    3737_global_.arg = [];
     38
     39/**
     40 * A magic variable which is always set to the filename of the
     41 * JavaScript file currently executed, if any.
     42 *
     43 * @static
     44 * @type String
     45 *
     46 * @example
     47 *    console.out(__FILE__);
     48 */
     49_global_.__FILE__ = filename;
     50
     51/**
     52 * A magic variable which is always set to the modification time of the
     53 * JavaScript file currently executed, if any.
     54 *
     55 * @static
     56 * @type Date
     57 *
     58 * @example
     59 *    console.out(__DATE__);
     60 */
     61_global_.__DATE__ = filedate;
     62
     63/**
     64 * A magic variable which is always set to the start time when the
     65 * current JavaScript session was started.
     66 *
     67 * @static
     68 * @constant
     69 * @type Date
     70 *
     71 * @example
     72 *    console.out(__START__);
     73 */
     74_global_.__START__ = starttime;
    3875
    3976
Note: See TracChangeset for help on using the changeset viewer.