diff options
author | alexichi <alexbankai96@gmail.com> | 2016-05-11 11:56:19 +0200 |
---|---|---|
committer | alexichi <alexbankai96@gmail.com> | 2016-05-11 11:56:19 +0200 |
commit | 35efaf74e828b738a20324a664cf9c2e08ef47d4 (patch) | |
tree | 183b4704c87c61b690010efbd6f3b30218328bcc /doc/phpdoc/js/jqplot/plugins/jqplot.ciParser.min.js | |
parent | 2350d43a09495db18b22b86ffc815a84eeb35579 (diff) | |
parent | 1158d2063f00f38de19a4600566b244a942d86ba (diff) | |
download | candybox-alexichi.tar.gz candybox-alexichi.tar.bz2 candybox-alexichi.tar.xz candybox-alexichi.zip |
Merge branch 'master' of piernov.org:candybox into alexichialexichi
Conflicts:
inc/perso.inc
Diffstat (limited to 'doc/phpdoc/js/jqplot/plugins/jqplot.ciParser.min.js')
-rw-r--r-- | doc/phpdoc/js/jqplot/plugins/jqplot.ciParser.min.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/phpdoc/js/jqplot/plugins/jqplot.ciParser.min.js b/doc/phpdoc/js/jqplot/plugins/jqplot.ciParser.min.js new file mode 100644 index 0000000..e17e792 --- /dev/null +++ b/doc/phpdoc/js/jqplot/plugins/jqplot.ciParser.min.js @@ -0,0 +1,3 @@ +/* jqPlot 1.0.8r1250 | (c) 2009-2013 Chris Leonello | jplot.com + jsDate | (c) 2010-2013 Chris Leonello + */(function(a){a.jqplot.ciParser=function(g,l){var m=[],o,n,h,f,e,c;if(typeof(g)=="string"){g=a.jqplot.JSON.parse(g,d)}else{if(typeof(g)=="object"){for(e in g){for(h=0;h<g[e].length;h++){for(c in g[e][h]){g[e][h][c]=d(c,g[e][h][c])}}}}else{return null}}function d(j,k){var i;if(k!=null){if(k.toString().indexOf("Date")>=0){i=/^\/Date\((-?[0-9]+)\)\/$/.exec(k);if(i){return parseInt(i[1],10)}}return k}}for(var b in g){o=[];n=g[b];switch(b){case"PriceTicks":for(h=0;h<n.length;h++){o.push([n[h]["TickDate"],n[h]["Price"]])}break;case"PriceBars":for(h=0;h<n.length;h++){o.push([n[h]["BarDate"],n[h]["Open"],n[h]["High"],n[h]["Low"],n[h]["Close"]])}break}m.push(o)}return m}})(jQuery);
\ No newline at end of file |