Changeset 6767


Ignore:
Timestamp:
04/26/11 01:23:12 (4 years ago)
Author:
fredck
Message:

Added missing license terms. Remove the unnecessary self calling function scope.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/_source/plugins/colordialog/plugin.js

    r5206 r6767  
    1 ( function()
     1/*
     2Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
     3For licensing, see LICENSE.html or http://ckeditor.com/license
     4*/
     5
     6CKEDITOR.plugins.colordialog =
    27{
    3         CKEDITOR.plugins.colordialog =
     8        init : function( editor )
    49        {
    5                 init : function( editor )
    6                 {
    7                         editor.addCommand( 'colordialog', new CKEDITOR.dialogCommand( 'colordialog' ) );
    8                         CKEDITOR.dialog.add( 'colordialog', this.path + 'dialogs/colordialog.js' );
    9                 }
    10         };
     10                editor.addCommand( 'colordialog', new CKEDITOR.dialogCommand( 'colordialog' ) );
     11                CKEDITOR.dialog.add( 'colordialog', this.path + 'dialogs/colordialog.js' );
     12        }
     13};
    1114
    12         CKEDITOR.plugins.add( 'colordialog', CKEDITOR.plugins.colordialog );
    13 } )();
     15CKEDITOR.plugins.add( 'colordialog', CKEDITOR.plugins.colordialog );
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2015 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy