nl_tokens: Returns the compiled template if a custom compiler is set in Backbone . DeclarativeViews . custom . compiler or undefined if no compiler is set .
pl_tokens: function _tryCompileTemplate ( html , $template ) { var compiled , customCompiler = Backbone . DeclarativeViews . custom . compiler ; if ( customCompiler ) { if ( customCompiler && ! _ . isFunction ( customCompiler ) ) throw new CustomizationError ( "Invalid custom template compiler set in Backbone.DeclarativeViews.custom.compiler: compiler is not a function" ) ; try { compiled = customCompiler ( html , $template ) ; } catch ( <mask> ) { throw new CompilerError ( 'An error occurred while compiling the template. The compiler had been passed the HTML string "' + html + ( $template ? '" as the first argument, and the corresponding template node, wrapped in a jQuery object, as the second argument.' : '" as the only argument.' ) + "\nOriginal error thrown by the compiler:\n" + err . message ) ; } } return compiled ; }