Merge pull request #78 from NoahYarian/patch-1

README.md - replaced , with : for valid JSON in success callback example
This commit is contained in:
Eddy Verbruggen 2016-02-29 22:32:58 +01:00
commit 4fb9932c9b

View File

@ -199,7 +199,7 @@ called again. You can distinguish between those events of course:
duration: "short",
position: "bottom",
addPixelsY: -40, // (optional) added a negative value to move it up a bit (default 0)
data: {'foo','bar'} // (optional) pass in a JSON object here (it will be sent back in the success callback below)
data: {'foo':'bar'} // (optional) pass in a JSON object here (it will be sent back in the success callback below)
},
// implement the success callback
function(result) {