aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/js/CGP.js (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Defensive programming: more urlencode/htmlentitiesPeter Wu2014-07-201-1/+1
| | | | | | | | | | | | | | | | | | Make build_url return an URL, not HTML. This separates presentation from data. plugin_header's return value is unused, remove the unnecessary return. At places where `printf("<tag att='%s'>", $x);` is used, it is now converted to `printf("<tag att=\"%s\">", htmlentities($x));` since the single quote is not escaped by default by htmlentities. In case the canvas style is used, JS should use `textContent` instead of `innerHTML` to avoid reading `&quot;` instead of `"`. Nobody (should) use(s) IE6 anymore, so it is a safe change. While at it, use the standard charset attribute of meta to specify the character set (UTF-8).
* Add a configuration option for sync/async choice for the canvas graphsVincent Brillault2014-01-121-22/+0
|
* jsrrdgraph: CGP.js: split draw(id) into prepare_draw(id) and draw(id)Vincent Brillault2014-01-121-1/+7
|
* integrate jsrrdgraph in CGPPim van den Berg2013-05-181-0/+124