0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-22 07:13:08 -05:00

API rename (inc|dec)reaseQuoteLevel

Use full words in API method name for consistency with the rest of the API.
This commit is contained in:
Neil Jenkins 2012-04-12 11:40:41 +10:00
parent 98ebe661b2
commit c5abcde210
4 changed files with 7 additions and 7 deletions

View file

@ -65,8 +65,8 @@
<span id="makeLink" class="prompt">Link</span>
</p>
<p>
<span id="incQuoteLevel">Quote</span>
<span id="decQuoteLevel">Dequote</span>
<span id="increaseQuoteLevel">Quote</span>
<span id="decreaseQuoteLevel">Dequote</span>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<span id="makeUnorderedList">List</span>
<span id="removeList">Unlist</span>

View file

@ -327,13 +327,13 @@ Extracts a portion of the DOM tree (up to the block boundaries of the current se
Returns self.
### incQuoteLevel ###
### increaseQuoteLevel ###
Increases by 1 the quote level (number of `<blockquote>` tags wrapping) all blocks at least partially selected.
Returns self.
### decQuoteLevel ###
### decreaseQuoteLevel ###
Decreases by 1 the quote level (number of `<blockquote>` tags wrapping) all blocks at least partially selected.

File diff suppressed because one or more lines are too long

View file

@ -1803,8 +1803,8 @@
forEachBlock: chain( forEachBlock ),
modifyBlocks: chain( modifyBlocks ),
incQuoteLevel: command( modifyBlocks, increaseBlockQuoteLevel ),
decQuoteLevel: command( modifyBlocks, decreaseBlockQuoteLevel ),
increaseQuoteLevel: command( modifyBlocks, increaseBlockQuoteLevel ),
decreaseQuoteLevel: command( modifyBlocks, decreaseBlockQuoteLevel ),
makeUnorderedList: command( modifyBlocks, makeUnorderedList ),
makeOrderedList: command( modifyBlocks, makeOrderedList ),