Skip to content

Commit

Permalink
Rename justifyFill to justifyFull (tiff#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiff committed Jul 16, 2012
1 parent 11c52d9 commit 94ef126
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ JS_FILES = src/wysihtml5.js \
src/commands/justifyCenter.js \
src/commands/justifyLeft.js \
src/commands/justifyRight.js \
src/commands/justifyFull.js \
src/commands/redo.js \
src/commands/underline.js \
src/commands/undo.js \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
CLASS_NAME = "wysiwyg-text-align-justify",
REG_EXP = /wysiwyg-text-align-[0-9a-z]+/g;

wysihtml5.commands.justifyFill = {
wysihtml5.commands.justifyFull = {
exec: function(composer, command) {
return wysihtml5.commands.formatBlock.exec(composer, "formatBlock", null, CLASS_NAME, REG_EXP);
},
Expand Down
2 changes: 1 addition & 1 deletion test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<script src="../src/commands/justifyCenter.js"></script>
<script src="../src/commands/justifyLeft.js"></script>
<script src="../src/commands/justifyRight.js"></script>
<script src="../src/commands/justifyFill.js"></script>
<script src="../src/commands/justifyFull.js"></script>
<script src="../src/commands/redo.js"></script>
<script src="../src/commands/underline.js"></script>
<script src="../src/commands/undo.js"></script>
Expand Down

0 comments on commit 94ef126

Please sign in to comment.