diff --git a/src/ajax.js b/src/ajax.js index 3102025..88a1f52 100644 --- a/src/ajax.js +++ b/src/ajax.js @@ -8,7 +8,7 @@ * * Actual requests are made by creating instances of [[Ajax.Request]]. * - *

Request headers

+ *
Request headers
* * The following headers are sent with all Ajax requests (and can be * overridden with the `requestHeaders` option described below): @@ -21,7 +21,7 @@ * * `Content-type` is automatically determined based on the `contentType` * and `encoding` options. * - *

Ajax options

+ *
Ajax options
* * All Ajax classes share a common set of _options_ and _callbacks_. * Callbacks are called at various points in the life-cycle of a request, and @@ -64,7 +64,7 @@ * `true` otherwise): Sanitizes the contents of * [[Ajax.Response#responseText]] before evaluating it. * - *

Common callbacks

+ *
Common callbacks
* * When used on individual instances, all callbacks (except `onException`) are * invoked with two parameters: the `XMLHttpRequest` object and the result of diff --git a/src/ajax/periodical_updater.js b/src/ajax/periodical_updater.js index 3214273..d5fa4ef 100644 --- a/src/ajax/periodical_updater.js +++ b/src/ajax/periodical_updater.js @@ -16,7 +16,7 @@ * keeping track of the response text so it can (optionally) react to * receiving the exact same response consecutively. * - *

Additional options

+ *
Additional options
* * `Ajax.PeriodicalUpdater` features all the common options and callbacks * described in the [[Ajax section]] — _plus_ those added by `Ajax.Updater`. @@ -34,7 +34,7 @@ * is the same; when the result is different once again, `frequency` will * revert to its original value. * - *

Disabling and re-enabling a PeriodicalUpdater

+ *
Disabling and re-enabling a PeriodicalUpdater
* * You can hit the brakes on a running `PeriodicalUpdater` by calling * [[Ajax.PeriodicalUpdater#stop]]. If you wish to re-enable it later, call diff --git a/src/ajax/request.js b/src/ajax/request.js index b79df17..352cc48 100644 --- a/src/ajax/request.js +++ b/src/ajax/request.js @@ -5,7 +5,7 @@ * * `Ajax.Request` is a general-purpose class for making HTTP requests. * - *

Automatic JavaScript response evaluation

+ *
Automatic JavaScript response evaluation
* * If an Ajax request follows the _same-origin policy_ **and** its response * has a JavaScript-related `Content-type`, the content of the `responseText` @@ -28,7 +28,7 @@ * * The MIME-type string is examined in a case-insensitive manner. * - *

Methods you may find useful

+ *
Methods you may find useful
* * Instances of the `Request` object provide several methods that can come in * handy in your callback functions, especially once the request is complete. diff --git a/src/ajax/responders.js b/src/ajax/responders.js index 8fe5c26..c9ed244 100644 --- a/src/ajax/responders.js +++ b/src/ajax/responders.js @@ -34,7 +34,7 @@ * } * }); * - *

Responder callbacks

+ *
Responder callbacks
* * The callbacks for responders are similar to the callbacks described in * the [[Ajax section]], but take a different signature. They're invoked with diff --git a/src/ajax/updater.js b/src/ajax/updater.js index 6979dfa..7cb23da 100644 --- a/src/ajax/updater.js +++ b/src/ajax/updater.js @@ -7,7 +7,7 @@ * `Ajax.Updater` is a subclass of [[Ajax.Request]] built for a common * use-case. * - *

Example

+ *
Example
* * new Ajax.Updater('items', '/items', { * parameters: { text: $F('text') } @@ -17,13 +17,13 @@ * parameters); it will then replace the contents of the element with the ID * of `items` with whatever response it receives. * - *

Callbacks

+ *
Callbacks
* * `Ajax.Updater` supports all the callbacks listed in the [[Ajax section]]. * Note that the `onComplete` callback will be invoked **after** the element * is updated. * - *

Additional options

+ *
Additional options
* * `Ajax.Updater` has some options of its own apart from the common options * described in the [[Ajax section]]: @@ -37,7 +37,7 @@ * `top`, `bottom`, `before`, or `after` — and _inserts_ the contents of the * response in the manner described by [[Element#insert]]. * - *

More About `evalScripts`

+ *
More About `evalScripts`
* * If you use `evalScripts: true`, any _inline_ `