#26024 closed defect (bug) (fixed)
jshint shouldn't throw errors:wp-includes/js/tinymce/plugins/wplink/editor_plugin_src.js
| Reported by: | seanchayes | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.8 |
| Component: | Build/Test Tools | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
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);
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 26201: