Skip to content

Instantly share code, notes, and snippets.

@danwrong danwrong/gist:918610
Created Apr 13, 2011

What would you like to do?
function Template(path) {}
Template.prototype = new loadrunner.Dependency;
Template.prototype.start = function() {
// called when first callback is added
// start the template load
this.load(function(source) {
// call complete when its done
var template = this.compile(source)
using.matchers.add(/\.mustache$/, function(path) {
return loadrunner.Template(path);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.