Created
May 23, 2017 19:07
-
-
Save lesm/17501512ce78c9a62b6157449fae03b6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| dataCatalogo = (catalogo) -> | |
| $.getJSON( | |
| url: 'catalogo' | |
| global: false | |
| async: false | |
| data: {catalogo: catalogo} | |
| success: (data) -> | |
| return data | |
| error: (data) -> | |
| console.log 'error', data | |
| ).responseText |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment