server payload decoding problem is fixed, so remove hack. we now always decode the payload after downloading.

This commit is contained in:
Dan Mills 2008-11-25 14:47:43 +09:00
Родитель cff2db88df
Коммит f4b067191f
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -112,8 +112,7 @@ WBOFilter.prototype = {
let self = yield;
let foo = wbo.uri.spec.split('/');
data.id = decodeURI(foo[foo.length-1]);
// data.payload = json.decode(data.payload)[0]; // fixme: server is decoding for us!
data.payload = data.payload[0]; // remove when above gets fixed
data.payload = json.decode(data.payload)[0];
self.done(data);
}
};