Service.chartHistogram = function (ph,page,callback ,filename,parser){
page.evaluate(function() {
try{
var line1= $("#pageArgs").val();
var line = new Array();
line = parser(line1);
parser is a function , when exec error : Can't find variable: parser
Service.chartHistogram = function (ph,page,callback ,filename,parser){ page.evaluate(function() { try{ var line1= $("#pageArgs").val(); var line = new Array(); line = parser(line1); parser is a function , when exec error : Can't find variable: parser