ryanve/response.js — Issue #3: Can't read data attribute until DOM is loaded
Author: ryanve
Created: 2012-01-04 18:54:06+00:00
State: open

In version 0.2.8 and earlier, if you were loading Response in your head using [normal external script tags](http://responsejs.com/#load_external) and using the [body tag method](http://responsejs.com/#setup_json) to setup your attributes, then Response would be attempting to read the `data-responsejs` attribute before it was available in the DOM. This was fixed in [version 0.2.9](https://github.com/ryanve/response.js/commit/6d483eee4eb0e60b96d3b251d8f3bad168fc0fda#response.js) by binding the reading of the attribute to the `ready` event.