nl_tokens: The official source - map requires a define function that matches the CommonJS module specification . Since it only uses a subset of that functionality we cheat here and only provide that minimum subset .
pl_tokens: function makeDefine ( mapping , id ) { var require = function ( id ) { return mapping [ id ] ; } ; var exports = mapping [ id ] = { } ; var module = null ; // Unused arg. Included for completeness. return function ( factory ) { factory ( <mask> , exports , module ) ; } ; }