Skip to content

Commit

Permalink
publish v2.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
farthinker committed Dec 21, 2015
1 parent adfef21 commit 31fcb8d
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simditor",
"version": "2.3.5",
"version": "2.3.6",
"homepage": "http://simditor.tower.im/",
"authors": [
"farthinker <[email protected]>"
Expand Down
6 changes: 5 additions & 1 deletion lib/simditor.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*!
* Simditor v2.3.6
* http://simditor.tower.im/
* 2015-12-21
*/
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module unless amdModuleId is set
Expand Down Expand Up @@ -2607,7 +2612,6 @@ Simditor = (function(superClass) {
this.el.find('textarea:visible').focus();
return;
}
console.log(this.inputManager.lastCaretPosition);
if (this.inputManager.lastCaretPosition) {
this.undoManager.caretPosition(this.inputManager.lastCaretPosition);
return this.inputManager.lastCaretPosition = null;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simditor",
"version": "2.3.5",
"version": "2.3.6",
"description": "A simple online editor",
"keywords": "editor simditor",
"repository": {
Expand Down
1 change: 0 additions & 1 deletion site/assets/scripts/simditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -2607,7 +2607,6 @@ Simditor = (function(superClass) {
this.el.find('textarea:visible').focus();
return;
}
console.log(this.inputManager.lastCaretPosition);
if (this.inputManager.lastCaretPosition) {
this.undoManager.caretPosition(this.inputManager.lastCaretPosition);
return this.inputManager.lastCaretPosition = null;
Expand Down
1 change: 0 additions & 1 deletion src/core.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ class Simditor extends SimpleModule
@el.find('textarea:visible').focus()
return

console.log @inputManager.lastCaretPosition
if @inputManager.lastCaretPosition
@undoManager.caretPosition @inputManager.lastCaretPosition
@inputManager.lastCaretPosition = null
Expand Down
4 changes: 2 additions & 2 deletions styles/simditor.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* Simditor v2.3.5
* Simditor v2.3.6
* http://simditor.tower.im/
* 2015-12-20
* 2015-12-21
*/
@font-face {
font-family: 'Simditor';
Expand Down

0 comments on commit 31fcb8d

Please sign in to comment.