Changeset 16071 for trunk/FACT++/scripts


Ignore:
Timestamp:
05/23/13 11:08:38 (12 years ago)
Author:
tbretz
Message:
Added console.warn to print a highlighted message to the ocnsole.
File:
1 edited

Legend:

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

    r14699 r16071  
    3131 */
    3232console.out = function() { /* [native code] */ }
     33
     34/**
     35 *
     36 * Displays a warning message on the local console (only).
     37 *
     38 * (This is mainly meant for debugging purpose to highlight warning
     39 *  messages.)
     40 *
     41 * @param argument
     42 *     Any kind of argument can be given. If it is not a String, it
     43 *     is converted using the toString() member function.
     44 *
     45 * @param [. . .]
     46 *     Any number of additional arguments. Each argument will appear in
     47 *     a new line.
     48 *
     49 * @example
     50 *     console.warn("WARNING: Five="+5, "--- new line ---");
     51 *
     52 */
     53console.warn = function() { /* [native code] */ }
Note: See TracChangeset for help on using the changeset viewer.