[임대현] #99 getScatter.pinpoint 호출 조회시 mime 타입을 json, jsonp로 구분해주세요.

git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-web/trunk@3702 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
Denny Lim
2014-04-21 02:12:28 +00:00
parent 2e3748b309
commit 115fbc85db
+18 -3
View File
@@ -137,9 +137,24 @@ pinpointApp.directive('scatter',
// STOP
return -1;
},
htOption: cfg.options.htOption,
index: cfg.options.index,
type: cfg.options.type
htOption: {
headers: {
accept: 'application/jsonp',
contentType: 'application/jsonp'
},
dataType: 'jsonp',
jsonp: '_callback'
},
index: {
x: 0,
y: 1,
transactionId: 2,
type: 3
},
type: {
'0': 'Failed',
'1': 'Success'
}
};
return htDataSource;
};