From b39a45781a75c082b6d9e0798bebc7ebfceccb49 Mon Sep 17 00:00:00 2001 From: daboe01 Date: Fri, 27 May 2016 17:23:30 +0200 Subject: [PATCH] fixed: accidental creation of a global variable --- AppKit/CPTextView/CPTextView.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPTextView/CPTextView.j b/AppKit/CPTextView/CPTextView.j index a5d1fa650..5d9bb033e 100644 --- a/AppKit/CPTextView/CPTextView.j +++ b/AppKit/CPTextView/CPTextView.j @@ -2339,7 +2339,7 @@ var _CPCopyPlaceholder = '-'; [currentFirstResponder copy:self]; // dataForPasting = [pasteboard dataForType:CPRichStringPboardType], - stringForPasting = [pasteboard stringForType:CPStringPboardType]; + var stringForPasting = [pasteboard stringForType:CPStringPboardType]; e.clipboardData.setData('text/plain', stringForPasting); // e.clipboardData.setData('application/rtf', stringForPasting); // does not seem to work