Created
February 24, 2012 01:00
-
-
Save paulirish/1896401 to your computer and use it in GitHub Desktop.
modernizr plugin for api.html5please.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// omg we moved!! | |
Seems the way the API currently works is .html
output is same as .js
output but with the additional html
bit (assuming a callback parameter is specified)
So this way, we offer the html field if they want it. Fine if they dont.. but we dont need to have it be an option in using the API. Just have it an option in the payload.
payload should be documented on the index, yeah.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The url should be .js since it is always a callback. Also should document all the object key/value pairs that will be returned (including the html bit) Either on the index page or perhaps within this gist? Unsure where it should go.