Removing the now-unnecessary JSON.parse() call

This commit is contained in:
Dan Cryer 2015-02-12 12:38:22 +00:00
parent 2d5659d613
commit 89435423d9

View file

@ -33,7 +33,7 @@ var PHPCI = {
url: PHPCI_URL + 'build/latest',
success: function (data) {
$(window).trigger('builds-updated', [JSON.parse(data)]);
$(window).trigger('builds-updated', [data]);
},
error: PHPCI.handleFailedAjax