Skip to content

Commit

Permalink
Added draft of real data implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
LeastFixedPoint committed Mar 23, 2012
1 parent 8955d3a commit 09f15e0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions data.js
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,8 @@
function requestData(success, failure) {
$.ajax({
url: 'data.js', dataType: 'json', success: success,
error: function(jqXHR, textStatus, errorThrown) {
return failure(textStatus + ": " + errorThrown)
}
})
}

0 comments on commit 09f15e0

Please sign in to comment.