• Jump To … +
    mustache.js mustache_benchmark.js system.js
  • system.js

  • ¶
    "format steal";
    steal("can/view/mustache", function(can){
    
    	function translate(load) {
    		return "define(['can/view/mustache/mustache'],function(can){" +
    			"return can.view.preloadStringRenderer('" + load.metadata.pluginArgument + "'," +
    			'can.Mustache(function(scope,options) { ' + new can.Mustache({
    				text: load.source,
    				name: load.name
    			})
    			.template.out + ' })' +
    			")" +
    			"})";
    	}
    
    	return {
    		translate: translate
    	};
    
    });