generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(html): False positive for multiple bootstrap script tags
Resolves #335
- Loading branch information
1 parent
2495cc0
commit 74ad824
Showing
5 changed files
with
84 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
test/fixtures/linter/rules/NoDeprecatedApi/BootstrapParameters_MultipleScripts2.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>OpenUI5 Todo App</title> | ||
<link rel="icon" href="data:,"> | ||
<script id="foo" | ||
src="thirdparty/jquery.js" | ||
|
||
data-sap-ui-libs="sap.m, sap.ui.commons"> | ||
</script> | ||
<script id="bar" | ||
src="resources/sap-ui-core.js" | ||
|
||
data-sap-ui-libs="sap.m, sap.ui.commons"> | ||
</script> | ||
<script id="bar" | ||
src="resources/sap-ui-custom.js" | ||
|
||
data-sap-ui-libs="sap.m, sap.ui.commons"> | ||
</script> | ||
<script id="sap-ui-NO-bootstrap" | ||
src="resources/my-bootstrap.js" | ||
|
||
data-sap-ui-async="true" | ||
data-sap-ui-libs="sap.m, sap.ui.commons"> | ||
</script> | ||
</head> | ||
|
||
<body class="sapUiBody"> | ||
<div data-sap-ui-component data-name="sap.ui.demo.todo" data-id="container" data-settings='{"id" : "todo"}'></div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.