Advertisement
Vadorequest

LangServer

Feb 1st, 2014
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ///<reference path='./def/defLoader.d.ts'/>
  2.  
  3. import lang = require('./public/Lang');
  4.  
  5. /**
  6.  * Server/TS build compatibility.
  7.  */
  8. declare var require;
  9.  
  10. /**
  11.  * Manage all the languages server side.
  12.  */
  13. export class LangServer extends lang.Lang {
  14.  
  15.     /**
  16.      * Basically run the init method.
  17.      * @param config            The public server config.
  18.      * @param languages         The public JSON languages config file.
  19.      * @param defaultLanguage   The public JSON language text file to use as default an main language.
  20.      * @param message           Instance of the Message class, for the communication.
  21.      */
  22.     constructor(config: any, languages: any, defaultLanguage: any){
  23.         super(config, languages, defaultLanguage, false);
  24.     }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement