NxTIC/js/lib/min/html-builder.js

2 lines
215 B
JavaScript
Raw Normal View History

function HTMLBuilder(){}HTMLBuilder.prototype={layout:null,default_params:{},setLayout:function(a){this.layout=a},build:function(a){var b=this.layout,c;for(c in a)b=b.replace(new RegExp("@"+c,"g"),a[c]);return b}};