Changeset 5861


Ignore:
Timestamp:
09/06/10 10:11:19 (5 years ago)
Author:
fredck
Message:

Fixed JSLint warnings.

Location:
CKEditor/trunk/_source
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/_source/core/ckeditor_base.js

    r5831 r5861  
    170170
    171171                                // Add the timestamp, except for directories.
    172                                 if ( this.timestamp && resource.charAt( resource.length - 1 ) != '/' && !/[&?]t=/.test( resource ) )
     172                                if ( this.timestamp && resource.charAt( resource.length - 1 ) != '/' && !(/[&?]t=/).test( resource ) )
    173173                                        resource += ( resource.indexOf( '?' ) >= 0 ? '&' : '?' ) + 't=' + this.timestamp;
    174174
  • CKEditor/trunk/_source/plugins/forms/dialogs/select.js

    r5836 r5861  
    194194                                                {
    195195                                                        if ( name == 'clear' )
    196                                                                 this.setValue( this.default || '' );
     196                                                                this.setValue( this['default'] || '' );
    197197                                                        else if ( name == 'select' )
    198198                                                        {
  • CKEditor/trunk/_source/plugins/image/dialogs/image.js

    r5850 r5861  
    1 /*
     1/*
    22Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
    33For licensing, see LICENSE.html or http://ckeditor.com/license
  • CKEditor/trunk/_source/plugins/justify/plugin.js

    r5856 r5861  
    1 /*
     1/*
    22Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
    33For licensing, see LICENSE.html or http://ckeditor.com/license
  • CKEditor/trunk/_source/plugins/popup/plugin.js

    r5830 r5861  
    3434
    3535                var top = parseInt( ( window.screen.height - height ) / 2, 10 ),
    36                         left = parseInt( ( window.screen.width  - width ) / 2, 10 ),
    37                         options = ( options || 'location=no,menubar=no,toolbar=no,dependent=yes,minimizable=no,modal=yes,alwaysRaised=yes,resizable=yes,scrollbars=yes' ) +
     36                        left = parseInt( ( window.screen.width  - width ) / 2, 10 );
     37
     38                options = ( options || 'location=no,menubar=no,toolbar=no,dependent=yes,minimizable=no,modal=yes,alwaysRaised=yes,resizable=yes,scrollbars=yes' ) +
    3839                        ',width='  + width +
    3940                        ',height=' + height +
  • CKEditor/trunk/_source/plugins/stylescombo/plugin.js

    r5847 r5861  
    1 /*
     1/*
    22Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
    33For licensing, see LICENSE.html or http://ckeditor.com/license
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2015 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy