style($http): remove unused argument

This commit is contained in:
Igor Minar 2013-08-27 15:57:01 -07:00
parent 52ec83a0ed
commit 0f56cfdd13

View file

@ -96,7 +96,7 @@ function $HttpProvider() {
// strip json vulnerability protection prefix // strip json vulnerability protection prefix
data = data.replace(PROTECTION_PREFIX, ''); data = data.replace(PROTECTION_PREFIX, '');
if (JSON_START.test(data) && JSON_END.test(data)) if (JSON_START.test(data) && JSON_END.test(data))
data = fromJson(data, true); data = fromJson(data);
} }
return data; return data;
}], }],