#25955 closed defect (bug) (fixed)
jshint shouldn't throw errors: wp-admin/js/revisions.js
| Reported by: | adamsilverstein | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.8 |
| Component: | Build/Test Tools | Version: | 3.8 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
wp-admin/js/revisions.js is still throwing some errors, not sure how they crept back in - I will fix them!
Linting src/wp-admin/js/revisions.js ...ERROR
[L958:C4] W099: Mixed spaces and tabs.
leftDragBoundary = view.$el.offset().left,
Linting src/wp-admin/js/revisions.js ...ERROR
[L959:C4] W099: Mixed spaces and tabs.
sliderOffset = leftDragBoundary,
Linting src/wp-admin/js/revisions.js ...ERROR
[L960:C4] W099: Mixed spaces and tabs.
sliderRightEdge = leftDragBoundary + view.$el.width(),
Linting src/wp-admin/js/revisions.js ...ERROR
[L961:C4] W099: Mixed spaces and tabs.
rightDragBoundary = sliderRightEdge,
Linting src/wp-admin/js/revisions.js ...ERROR
[L962:C4] W099: Mixed spaces and tabs.
leftDragReset = '0',
Linting src/wp-admin/js/revisions.js ...ERROR
[L963:C4] W099: Mixed spaces and tabs.
rightDragReset = '100%',
Linting src/wp-admin/js/revisions.js ...ERROR
[L964:C4] W099: Mixed spaces and tabs.
handles,
Linting src/wp-admin/js/revisions.js ...ERROR
[L965:C4] W099: Mixed spaces and tabs.
handle = $( ui.handle );
Attachments (2)
Change History (7)
#1
@
13 years ago
- Summary jshint shouldn't throw errors: → jshint shouldn't throw errors: wp-admin/js/revisions.js i
#2
@
13 years ago
- Keywords has-patch added; needs-patch removed
- Summary jshint shouldn't throw errors: wp-admin/js/revisions.js i → jshint shouldn't throw errors: wp-admin/js/revisions.js
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
25955.diff swaps spaces for tabs, clears file of all jshint errors