Widget:Sandbox: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
Line 10: | Line 10: | ||
ok: function ( data ) { | ok: function ( data ) { | ||
console.log( 'API result:', data ); | console.log( 'API result:', data ); | ||
} | } , fail: function ( error ) { | ||
, fail: function ( error ) { | |||
console.log( 'API failed :(', error ); | console.log( 'API failed :(', error ); | ||
} ); | } } ); | ||
} | } | ||
</script> | </script> |