Cleaned up Clipboard

Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/e9e039d9
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/e9e039d9
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/e9e039d9

Branch: refs/heads/develop
Commit: e9e039d9a7d6eb16dac7ab6d2491d4b9507aeb05
Parents: 0d3bd3e
Author: Harbs <[email protected]>
Authored: Tue Jun 27 20:07:23 2017 +0300
Committer: Harbs <[email protected]>
Committed: Tue Jun 27 20:07:23 2017 +0300

----------------------------------------------------------------------
 .../flex/org/apache/flex/textLayout/edit/Clipboard.as   | 12 ------------
 1 file changed, 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e9e039d9/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/edit/Clipboard.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/edit/Clipboard.as
 
b/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/edit/Clipboard.as
index c453aa8..81b7804 100644
--- 
a/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/edit/Clipboard.as
+++ 
b/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/edit/Clipboard.as
@@ -108,19 +108,7 @@ package org.apache.flex.textLayout.edit
                 document["addEventListener"]('paste',onPaste);
                 
             }
-            // if(_clipElement)
-            // {
-            //     _clipElement["removeEventListener"]('cut',onCut);
-            //     _clipElement["removeEventListener"]('copy',onCopy);
-            //     _clipElement["removeEventListener"]('paste',onPaste);
-            // }
             _clipElement = value;
-            // if(_clipElement)
-            // {
-            //     _clipElement["addEventListener"]('cut',onCut);
-            //     _clipElement["addEventListener"]('copy',onCopy);
-            //     _clipElement["addEventListener"]('paste',onPaste);
-            // }
         }
         private var currentEvent:Object;
         private function onCopy(e:Event):void

Reply via email to