return nvpair;
},
+ debug2: function(string) { // delayed debug
+ setTimeout(function() { debug(string); }, 500);
+ },
+
// service-proxy or pazpar2
pazpar2: function(config) {
</tr>\
</table>';
- if (config && config.layout == 'table') {
- debug("jquery plugin layout: table");
- document.write(table);
- } else {
- debug("jquery plugin layout: div");
+ if (config && config.layout == 'div') {
+ this.debug2("jquery plugin layout: div");
document.write(div);
+ } else {
+ this.debug2("jquery plugin layout: table");
+ document.write(table);
}
}
console.log(string);
}
+
/* magic */
$(document).ready(function() { mkws_html_all(mkws_config) });