Commit 5cce5b3cacf3313a07586ab4cf39fc40bcfd4409
1 parent
1a74ef2f
client refactoring
Showing
1 changed file
with
1 additions
and
1 deletions
js/deepClient.js
@@ -22,7 +22,7 @@ var ComponentService = | @@ -22,7 +22,7 @@ var ComponentService = | ||
22 | for(var i = 0; i < keys.length; i++){ | 22 | for(var i = 0; i < keys.length; i++){ |
23 | datalet_code += ' ' + keys[i] + '="' + params.params[keys[i]] +'"'; | 23 | datalet_code += ' ' + keys[i] + '="' + params.params[keys[i]] +'"'; |
24 | } | 24 | } |
25 | - datalet_code += " fields='" + JSON.stringify(params.fields) + "'></" + params.component + ">"; | 25 | + datalet_code += " fields='" + JSON.stringify(params.fields) + "'></" + params.component + ">"; |
26 | 26 | ||
27 | (params.placeHolder.constructor == HTMLElement || params.placeHolder.constructor == HTMLDivElement) ? $(params.placeHolder).html(datalet_code) :/*Injection from Web Component*/ | 27 | (params.placeHolder.constructor == HTMLElement || params.placeHolder.constructor == HTMLDivElement) ? $(params.placeHolder).html(datalet_code) :/*Injection from Web Component*/ |
28 | $("#" + params.placeHolder).html(datalet_code);/*Injection from a static web page*/ | 28 | $("#" + params.placeHolder).html(datalet_code);/*Injection from a static web page*/ |