#26027 closed defect (bug) (fixed)
jshint shouldn't throw errors:wp-includes/js/tinymce/plugins/wpview/editor_plugin_src.js
Reported by: | seanchayes | Owned by: | nacin |
---|---|---|---|
Milestone: | 3.8 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | has-patch |
Focuses: | Cc: |
Description
Resolving JSHint reported issues:
Linting src/wp-includes/js/tinymce/plugins/wpview/editor_plugin_src.js ...ERROR [L6:C14] W117: 'tinymce' is not defined. var VK = tinymce.VK, Linting src/wp-includes/js/tinymce/plugins/wpview/editor_plugin_src.js ...ERROR [L7:C22] W117: 'tinymce' is not defined. TreeWalker = tinymce.dom.TreeWalker, Linting src/wp-includes/js/tinymce/plugins/wpview/editor_plugin_src.js ...ERROR [L10:C5] W117: 'tinymce' is not defined. tinymce.create('tinymce.plugins.wpView', { Linting src/wp-includes/js/tinymce/plugins/wpview/editor_plugin_src.js ...ERROR [L187:C5] W117: 'tinymce' is not defined. tinymce.PluginManager.add( 'wpview', tinymce.plugins.wpView ); Linting src/wp-includes/js/tinymce/plugins/wpview/editor_plugin_src.js ...ERROR [L187:C42] W117: 'tinymce' is not defined. tinymce.PluginManager.add( 'wpview', tinymce.plugins.wpView ); Linting src/wp-includes/js/tinymce/plugins/wpview/editor_plugin_src.js ...ERROR [L11:C37] W098: 'url' is defined but never used. init : function( editor, url ) { Linting src/wp-includes/js/tinymce/plugins/wpview/editor_plugin_src.js ...ERROR [L36:C57] W098: 'o' is defined but never used. editor.onSetContent.add( function( editor, o ) { Linting src/wp-includes/js/tinymce/plugins/wpview/editor_plugin_src.js ...ERROR [L44:C80] W098: 'o' is defined but never used. editor.selection.onBeforeSetContent.add( function( selection, o ) { Linting src/wp-includes/js/tinymce/plugins/wpview/editor_plugin_src.js ...ERROR [L98:C95] W098: 'o' is defined but never used. editor.onNodeChange.addToTop( function( editor, controlManager, node, collapsed, o ) { Linting src/wp-includes/js/tinymce/plugins/wpview/editor_plugin_src.js ...ERROR [L98:C92] W098: 'collapsed' is defined but never used. editor.onNodeChange.addToTop( function( editor, controlManager, node, collapsed, o ) {
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
In 26201: