/tags/jsdoc_toolkit-1.4.0/test/data/allfuncs_option.js

http://jsdoc-toolkit.googlecode.com/ · JavaScript · 22 lines · 17 code · 4 blank · 1 comment · 0 complexity · 6c8afbbd2223e3bcd3792666967d311e MD5 · raw file

  1. function _Action() {
  2. this._index = [];
  3. /** passthe action to another object */
  4. this.passTo = function(obj) {
  5. obj.actOn(this);
  6. }
  7. this._debug = function() {
  8. new _Debugger(this).report();
  9. }
  10. this.execute = function() {
  11. this._index.push(action);
  12. }
  13. }
  14. _Log = {
  15. file: "log.txt",
  16. dump: function(msg){
  17. }
  18. };