tuiHoneyPot

front and back end of my TUI honeypot
Log | Files | Refs | README

filesystem.js (601B)


      1 /**
      2  * The filesystem service
      3  * @return {Object}
      4  */
      5 window.FakeTerminal.filesystem = function (instance) {
      6 
      7     /**
      8      * Avoid scope issues by using `base` instead of `this`
      9      * @type {Object}
     10      */
     11     var base = this;
     12 
     13     // --------------------------------------------------------------------------
     14 
     15     /**
     16      * Constructs window.FakeTerminal.filesystem
     17      * @returns {Object}
     18      * @private
     19      */
     20     base.__construct = function() {
     21         return base;
     22     };
     23 
     24     // --------------------------------------------------------------------------
     25 
     26     return base.__construct();
     27 };