[wp-trac] [WordPress Trac] #26024: jshint shouldn't throw errors:wp-includes/js/tinymce/plugins/wplink/editor_plugin_src.js

WordPress Trac noreply at wordpress.org
Thu Nov 14 20:28:46 UTC 2013


#26024: jshint shouldn't throw errors:wp-
includes/js/tinymce/plugins/wplink/editor_plugin_src.js
--------------------------+-----------------------------
 Reporter:  seanchayes    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Build Tools   |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 2 W109's and 3 W117's


 {{{
 Linting src/wp-includes/js/tinymce/plugins/wplink/editor_plugin_src.js
 ...ERROR
 [L21:C36] W109: Strings must use singlequote.
           height : "auto",
 Linting src/wp-includes/js/tinymce/plugins/wplink/editor_plugin_src.js
 ...ERROR
 [L51:C32] W109: Strings must use singlequote.
         version : "1.0"
 Linting src/wp-includes/js/tinymce/plugins/wplink/editor_plugin_src.js
 ...ERROR
 [L2:C5] W117: 'tinymce' is not defined.
   tinymce.create('tinymce.plugins.wpLink', {
 Linting src/wp-includes/js/tinymce/plugins/wplink/editor_plugin_src.js
 ...ERROR
 [L57:C5] W117: 'tinymce' is not defined.
   tinymce.PluginManager.add('wplink', tinymce.plugins.wpLink);
 Linting src/wp-includes/js/tinymce/plugins/wplink/editor_plugin_src.js
 ...ERROR
 [L57:C41] W117: 'tinymce' is not defined.
   tinymce.PluginManager.add('wplink', tinymce.plugins.wpLink);
 }}}

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26024>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list