* deprecate jsxBracketSameLine in favour of multi-language angleBracketSameLine option * update docs and snapshots * update tests to to make them more reviewable * Rewrite angular tests * Rewrite html tests * Rewrite vue tests * Restore unnecessary changes in jsx * Fix file location * Test both `true` and `false` * Revert changes in markdown * Run tests on all js parsers * Improve html test * fix changelog comment * move bracketSameLine to common options * mark jsxBracketSameLine as deprecated * Update changelog_unreleased/html/11006.md Co-authored-by: fisker Cheung <lionkay@gmail.com> * Update 11006.md * fix tests by removing `jsxBracketSameLine` `default` property * fix style * Revert docs under website dir * Add tests for deprecated options * Fix lint problems Co-authored-by: fisker Cheung <lionkay@gmail.com> Co-authored-by: sosukesuzuki <aosukeke@gmail.com>
18 lines
841 B
HTML
18 lines
841 B
HTML
<div ng-if="$ctrl .shouldShowWarning&&!$ctrl.loading"
|
|
bindon-target=" a | b : c "
|
|
(event)=" foo == $event "
|
|
*ngIf=" something?true:false " [(ngModel)]="canSave">Warning!</div>
|
|
<span ng-if="$ctrl .shouldShowWarning&&!$ctrl.loading"
|
|
bindon-target=" a | b : c "
|
|
(event)=" foo == $event "
|
|
*ngIf=" something?true:false " [(ngModel)]="canSave">Warning!</span>
|
|
<img ng-if="$ctrl .shouldShowWarning&&!$ctrl.loading"
|
|
bindon-target=" a | b : c "
|
|
(event)=" foo == $event "
|
|
*ngIf=" something?true:false " [(ngModel)]="canSave"/>
|
|
<script long-attribute="long_long_long_long_long_long_long_long_long_long_long_long_long_value">alert(1)</script>
|
|
<div (event)=" foo == $event ">Warning!</div>
|
|
<span (event)=" foo == $event ">Warning!</span>
|
|
<img (event)=" foo == $event "/>
|
|
<script>alert(1)</script>
|