nl_tokens: Load the given module .
pl_tokens: function loadModule ( moduleName ) { var module = modules [ moduleName ] ; if ( module !== undefined ) { return module ; } // This uses a switch for static require analysis switch ( moduleName ) { case 'charset' : module = require ( './lib/charset' ) ; break ; case 'encoding' : module = <mask> ( './lib/encoding' ) ; break ; case 'language' : module = require ( './lib/language' ) ; break ; case 'mediaType' : module = require ( './lib/mediaType' ) ; break ; default : throw new Error ( 'Cannot find module \'' + moduleName + '\'' ) ; } // Store to prevent invoking require() modules [ moduleName ] = module ; return module ; }