Browse Source

Merge pull request #162 from joymufeng/patch-1

Update api.html, fix typo from mockResponseAsync to responseAsync
master
Jack Lukic 9 years ago
parent
commit
a15514d1d1
  1. 2
      server/documents/behaviors/api.html.eco

2
server/documents/behaviors/api.html.eco

@ -822,7 +822,7 @@ type : 'UI Behavior'
<div class="no async mocked example"> <div class="no async mocked example">
<h4 class="ui header">Using Custom Backends</h4> <h4 class="ui header">Using Custom Backends</h4>
<p>Using <code>mockResponseAsync</code> you can specify a function which can execute your API request. This allows for you to use custom backends or wrappers outside of <code>$.ajax</code> for integrating API requests.</p> <p>Using <code>responseAsync</code> you can specify a function which can execute your API request. This allows for you to use custom backends or wrappers outside of <code>$.ajax</code> for integrating API requests.</p>
<div class="code" data-type="javascript" data-demo="true"> <div class="code" data-type="javascript" data-demo="true">
$('.async.mocked .button') $('.async.mocked .button')
.api({ .api({

Loading…
Cancel
Save