Skip to content

Commit 2976f96

Browse files
committed
Merge pull request burnettk#10 from codebeige/support_switch_with_on_attr
Allow attr "on" in order to support "ng-switch" directives
2 parents da5c377 + b770c2b commit 2976f96

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

plugin/angular.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ endif
1919
let g:syntastic_html_tidy_ignore_errors += [
2020
\ ' proprietary attribute "ng-',
2121
\ ' proprietary attribute "ui-',
22-
\ '<div> proprietary attribute "src',
22+
\ ' proprietary attribute "src"',
23+
\ ' proprietary attribute "on"',
2324
\ 'trimming empty <select>'
2425
\ ]
2526

spec/runspec_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
value_of_variable.should include(
88
' proprietary attribute "ng-',
99
' proprietary attribute "ui-',
10-
'<div> proprietary attribute "src',
10+
' proprietary attribute "src"',
11+
' proprietary attribute "on"',
1112
'trimming empty <select>'
1213
)
1314
end

0 commit comments

Comments
 (0)