Sha256: 71928be06ac714cb6ec0fca1a4e396d6be73a69b91c5f1e0756ceeb511f3f7d0

Contents?: true

Size: 763 Bytes

Versions: 1

Compression:

Stored size: 763 Bytes

Contents

(function() {
  var classes = ["Lexer", "PrintVisitor", "Context", "Runtime", "Exception"];
  var prop;

  for(var i=0, l=classes.length; i<l; i++) {
    var className = classes[i], klass = Handlebars[className];
    klass.displayName = "new Handlebars." + className;

    for(prop in klass) {
      if(klass.hasOwnProperty(prop)) {
        klass[prop].displayName = "Handlebars." + className + "#" + prop;
      }
    }
  }

  for(prop in Handlebars.Utils) {
    if(Handlebars.Utils.hasOwnProperty(prop)) {
      Handlebars.Utils[prop].displayName = "Handlebars.Utils." + prop;
    }
  }

  Handlebars.parse.displayName   = "Handlebars.parse";
  Handlebars.print.displayName   = "Handlebars.print";
  Handlebars.compile.displayName = "Handlebars.compile";
})();

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spade-0.0.1 packages/handlebars/lib/handlebars/debug.js