diff --git a/server/documents/behaviors/api.html.eco b/server/documents/behaviors/api.html.eco
index aabecd241..34fd1dc42 100755
--- a/server/documents/behaviors/api.html.eco
+++ b/server/documents/behaviors/api.html.eco
@@ -70,8 +70,8 @@ type : 'UI Behavior'
-
Tools for Mocking
-
New powerful callbacks like mockResponse and mockResponseAsync let you asynchronously mock responses and trigger the same callbacks as your API.
+
Tools for Third-Party Integrations & Mocking
+
New powerful callbacks like response and responseAsync let you asynchronously mock responses and trigger the same callbacks as your API.
@@ -210,7 +210,7 @@ type : 'UI Behavior'
Specifying DOM Events
If you need to override what action an API event occurs on you can use the on parameter.
- API requests for the following demos have been faked using API's mockResponse to avoid rate throttling from public APIs. No actual data is returned.
+ API requests for the following demos have been faked using API's response setting to avoid rate throttling from public APIs. No actual data is returned.
$('.follow.button')
@@ -798,12 +798,12 @@ type : 'UI Behavior'
Advanced Use
-
Mocking Responses
-
In 2.0 API includes two new parameter mockResponse and mockResponseAsync which allows you to specify a string, or as a sync or aync function for returning an API response
+
Fulfilling Responses
+
In 2.0 API includes two new parameter response and responseAsync which allows you to specify a string, or as a sync or aync function for returning an API response. (These were previously mockResponse and mockResponseAsync.)
Can be set to a javascript object which will be returned automatically instead of requesting JSON from server
{} or false
-
mockResponseAsync(settings, callback)
+
responseAsync(settings, callback)
false
When specified, this function can be used to retrieve content from a server and return it asynchronously instead of a standard AJAX call. The callback function should return the server response.
function or false
+
+
mockResponse
+
false
+
Alias of response
+
+
+
+
mockResponseAsync
+
false
+
Alias of responseAsync
+
+
method
get
diff --git a/server/documents/hotfix.html.eco b/server/documents/hotfix.html.eco
index d2c44a646..3a77fecdb 100644
--- a/server/documents/hotfix.html.eco
+++ b/server/documents/hotfix.html.eco
@@ -7,20 +7,28 @@ title : 'Test Page'
type : 'Library'
---
-