mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-01-12 22:45:52 +08:00
style($http): remove unused argument
This commit is contained in:
@@ -96,7 +96,7 @@ function $HttpProvider() {
|
||||
// strip json vulnerability protection prefix
|
||||
data = data.replace(PROTECTION_PREFIX, '');
|
||||
if (JSON_START.test(data) && JSON_END.test(data))
|
||||
data = fromJson(data, true);
|
||||
data = fromJson(data);
|
||||
}
|
||||
return data;
|
||||
}],
|
||||
|
||||
Reference in New Issue
Block a user