Commit 29e34ccd1e4b3ac3c9bfa92b82cfd2ac92f3d668
1 parent
55391a83
license updates
Showing
2 changed files
with
9 additions
and
5 deletions
index.html
... | ... | @@ -109,7 +109,7 @@ |
109 | 109 | |
110 | 110 | |
111 | 111 | |
112 | - ComponentService.deep_url = 'http://192.168.214.128/DEEalerProvider/DEEP/'; | |
112 | + ComponentService.deep_url = 'http://192.168.214.128/DatalEts-Ecosystem-Provider/DEEP/'; | |
113 | 113 | ComponentService.getComponent(table_params); |
114 | 114 | ComponentService.getComponent(linechart_params); |
115 | 115 | ComponentService.getComponent(barchart_params); | ... | ... |
js/deepClient.js
... | ... | @@ -24,11 +24,10 @@ |
24 | 24 | */ |
25 | 25 | |
26 | 26 | |
27 | -/** Created by : | |
28 | - * Luigi Serra - luigser@gmail.com | |
29 | - * Andrea Petta - andrpet@gmail.com | |
27 | +/** | |
28 | + * Developed by : | |
29 | + * ROUTE-TO-PA Project - grant No 645860. - www.routetopa.eu | |
30 | 30 | * |
31 | - * Copyright (c) 2015 Dipartimento di Informatica - Università di Salerno - Italy | |
32 | 31 | */ |
33 | 32 | |
34 | 33 | var ComponentService = |
... | ... | @@ -52,6 +51,11 @@ var ComponentService = |
52 | 51 | datalet_code += ' ' + keys[i] + '=\'' + params.params[keys[i]] +'\''; |
53 | 52 | } |
54 | 53 | |
54 | + //Deal the fields with "'" char | |
55 | + /*for(var i = 0; i < params.fields.length; i++){ | |
56 | + params.fields[i] = params.fields[i].replace(/'/g,"#"); | |
57 | + }*/ | |
58 | + | |
55 | 59 | datalet_code += " fields='" + JSON.stringify(params.fields) + "'></" + params.component + ">"; |
56 | 60 | |
57 | 61 | (params.placeHolder.constructor == HTMLElement || params.placeHolder.constructor == HTMLDivElement) ? $(params.placeHolder).html(datalet_code) :/*Injection from Web Component*/ | ... | ... |