Commit dc5c4757 authored by Yehuda Katz's avatar Yehuda Katz

Fix typo in README

parent ef4061f0
......@@ -59,7 +59,7 @@ var getJSON = function(url) {
client.setRequestHeader("Accept", "application/json");
function handler() {
if (this.readyState = this.DONE) {
if (this.readyState === this.DONE) {
if (this.status === 200) { promise.resolve(this.response); }
else { promise.reject(this); }
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment