Minor formatting fix in JavaScript API edit module
Fixes some spaces, for people who copy-paste code from the API documentation. Bug: T242405 Change-Id: Id429f461c471c28e48444312e63613d7649e8d9a
This commit is contained in:
parent
80b83af5ca
commit
d3ef49d1ce
1 changed files with 3 additions and 3 deletions
|
|
@ -71,7 +71,7 @@
|
||||||
* return revision.content.replace( 'foo', 'bar' );
|
* return revision.content.replace( 'foo', 'bar' );
|
||||||
* } )
|
* } )
|
||||||
* .then( function () {
|
* .then( function () {
|
||||||
* console.log( 'Saved! ');
|
* console.log( 'Saved!' );
|
||||||
* } );
|
* } );
|
||||||
*
|
*
|
||||||
* Set save parameters by returning an object instead of a string:
|
* Set save parameters by returning an object instead of a string:
|
||||||
|
|
@ -88,7 +88,7 @@
|
||||||
* }
|
* }
|
||||||
* )
|
* )
|
||||||
* .then( function () {
|
* .then( function () {
|
||||||
* console.log( 'Saved! ');
|
* console.log( 'Saved!' );
|
||||||
* } );
|
* } );
|
||||||
*
|
*
|
||||||
* Transform asynchronously by returning a promise.
|
* Transform asynchronously by returning a promise.
|
||||||
|
|
@ -105,7 +105,7 @@
|
||||||
* } );
|
* } );
|
||||||
* } )
|
* } )
|
||||||
* .then( function () {
|
* .then( function () {
|
||||||
* console.log( 'Saved! ');
|
* console.log( 'Saved!' );
|
||||||
* } );
|
* } );
|
||||||
*
|
*
|
||||||
* @since 1.28
|
* @since 1.28
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue