corinthia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmke...@apache.org
Subject incubator-corinthia git commit: Remove duplicate UndoManager_groupType function
Date Fri, 06 Mar 2015 11:07:42 GMT
Repository: incubator-corinthia
Updated Branches:
  refs/heads/master 7ea85b139 -> 9d4eefaac


Remove duplicate UndoManager_groupType function


Project: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/commit/9d4eefaa
Tree: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/tree/9d4eefaa
Diff: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/diff/9d4eefaa

Branch: refs/heads/master
Commit: 9d4eefaac0da5c9da62693d6f4da76c33681a4a8
Parents: 7ea85b1
Author: Peter Kelly <peter@uxproductivity.com>
Authored: Fri Mar 6 18:07:00 2015 +0700
Committer: Peter Kelly <peter@uxproductivity.com>
Committed: Fri Mar 6 18:07:15 2015 +0700

----------------------------------------------------------------------
 Editor/src/UndoManager.js | 9 ---------
 1 file changed, 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/9d4eefaa/Editor/src/UndoManager.js
----------------------------------------------------------------------
diff --git a/Editor/src/UndoManager.js b/Editor/src/UndoManager.js
index fcc9098..9f63c43 100644
--- a/Editor/src/UndoManager.js
+++ b/Editor/src/UndoManager.js
@@ -32,7 +32,6 @@ var UndoManager_isDisabled;
 var UndoManager_clear;
 var UndoManager_setProperty;
 var UndoManager_deleteProperty;
-var UndoManager_groupType;
 
 (function() {
 
@@ -266,14 +265,6 @@ var UndoManager_groupType;
         delete obj[name];
     }
 
-    UndoManager_groupType = function()
-    {
-        if (undoStack.length == 0)
-            return null;
-        else
-            return undoStack[undoStack.length-1].type;
-    }
-
 })();
 
 window.undoSupported = true;


Mime
View raw message