Sha256: 60ddea6e6433ed2beda4c59bfc27620fe737bce99f251f08f00773cabb744b10
Contents?: true
Size: 394 Bytes
Versions: 46
Compression:
Stored size: 394 Bytes
Contents
var WcREPL = { addCode: function(code, source) { var template = Handlebars.compile(source); var data = { code: code }; return $(template(data)).appendTo("body"); }, addInput: function(code) { var source = $("#input-template").html(); this.addCode(code, source); }, addOutput: function(code) { var source = $("#output-template").html(); this.addCode(code, source); } }
Version data entries
46 entries across 46 versions & 2 rubygems