public/ckeditor/4.4dev/plugins/clipboard/plugin.js
function createCutCopyCmd( type ) {
			return {
				type: type,
				canUndo: type == 'cut', // We can't undo copy to clipboard.
				startDisabled: true,
				exec: function( data ) {
					// Attempts to execute the Cut and Copy operations.
					function tryToCutCopy( type ) {
						if ( CKEDITOR.env.ie )
							return execIECommand( type );

						// non-IEs part
						try {
							// Other browsers throw an error if the command is disabled.
							return editor.document.$.execCommand( type, false, null );
						} catch ( e ) {
							return false;
						}
					}

					this.type == 'cut' && fixCut();

					var success = tryToCutCopy( this.type );

					if ( !success )
						alert( editor.lang.clipboard[ this.type + 'Error' ] ); // Show cutError or copyError.

					return success;
				}
			};
		}
function createCutCopyCmd( type ) {
			return {
				type: type,
				canUndo: type == 'cut', // We can't undo copy to clipboard.
				startDisabled: true,
				exec: function( data ) {
					// Attempts to execute the Cut and Copy operations.
					function tryToCutCopy( type ) {
						if ( CKEDITOR.env.ie )
							return execIECommand( type );

						// non-IEs part
						try {
							// Other browsers throw an error if the command is disabled.
							return editor.document.$.execCommand( type, false, null );
						} catch ( e ) {
							return false;
						}
					}

					this.type == 'cut' && fixCut();

					var success = tryToCutCopy( this.type );

					if ( !success )
						alert( editor.lang.clipboard[ this.type + 'Error' ] ); // Show cutError or copyError.

					return success;
				}
			};
		}
function createCutCopyCmd ( type ) { return { type : type , canUndo : type == 'cut' , // We can't undo copy to clipboard.
 startDisabled : true , exec : function ( data ) { // Attempts to execute the Cut and Copy operations.
 function tryToCutCopy ( type ) { if ( CKEDITOR . env . ie ) return execIECommand ( type ) ; // non-IEs part
 try { // Other browsers throw an error if the command is disabled.
 return editor . document . $ . execCommand ( type , false , null ) ; } catch ( e ) { return false ; } } this . type == 'cut' && fixCut ( ) ; var success = tryToCutCopy ( this . type ) ; if ( ! success ) alert ( editor . lang . clipboard [ this . type + 'Error' ] ) ; // Show cutError or copyError.
 return success ; } } ; }
Create object representing Cut or Copy commands.
Create object representing Cut or Copy commands .