Created
June 23, 2016 13:20
-
-
Save yuma300/85e832e671effe035ac0b928e32297a7 to your computer and use it in GitHub Desktop.
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
get_ask: (callback) -> | |
promise = new Promise (resolve) -> | |
_public_api.depth('btc_jpy').then (result) -> | |
resolve(result); | |
promise.then (result) -> | |
console.log("#{result}"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
npm i zaif.jp co