Skip to content

Instantly share code, notes, and snippets.

linjiang82

Block or report user

Report or block linjiang82

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View asynch-jsonp-handler-w-ecma6-promise.markdown

Asynch JSONP handler, w/ ECMA6 Promise

This is a refinement to an earlier JSONp handler where I ran into an issue with accessing the response data due to timing. By passing the resolve and reject behaviours to the "then" method the new promise the data object returned in the callback is accessible. http://www.html5rocks.com/en/tutorials/es6/promises/

A Pen by John Lin on CodePen.

License.

@linjiang82
linjiang82 / index.html
Created Mar 14, 2017
Product List using React
View index.html
<html>
<head>
</head>
<body>
<div id='wrapper'>
</div>
</body></html>
You can’t perform that action at this time.