Skip to content

Commit

Permalink
Fix case of JavaScript.
Browse files Browse the repository at this point in the history
Changes were:

- `javascript` to `JavaScript`
- `Javascript` to `JavaScript`
  • Loading branch information
jbampton authored and markt-asf committed Jul 4, 2020
1 parent 091f11f commit 96b5ab3
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion conf/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@
<!-- this to work you will need to uncomment the .shtml mime type -->
<!-- definition towards the bottom of this file. -->
<!-- The contentType init param allows you to apply SSI processing to JSP -->
<!-- pages, javascript, or any other content you wish. This filter -->
<!-- pages, JavaScript, or any other content you wish. This filter -->
<!-- supports the following initialization parameters (default values are -->
<!-- in square brackets): -->
<!-- -->
Expand Down
2 changes: 1 addition & 1 deletion java/org/apache/catalina/filters/ExpiresFilter.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
* </p>
* <h2>Filter Configuration</h2><h3>Basic configuration to add
* '{@code Expires}' and '{@code Cache-Control: max-age=}'
* headers to images, css and javascript</h3>
* headers to images, css and JavaScript</h3>
*
* <pre>
* {@code
Expand Down
2 changes: 1 addition & 1 deletion webapps/docs/config/filter.xml
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ HTTP/1.1 200 OK
<subsection name="Basic configuration sample">
<p>
Basic configuration to add '<code>Expires</code>' and '<code>Cache-Control: max-age=</code>'
headers to images, css and javascript.
headers to images, css and JavaScript.
</p>

<source><![CDATA[<filter>
Expand Down
2 changes: 1 addition & 1 deletion webapps/docs/ssi-howto.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ is mapped to the URL pattern "*.shtml".</p>
is mapped to the URL pattern "*.shtml", though it can be mapped to "*" as
it will selectively enable/disable SSI processing based on mime types. The
contentType init param allows you to apply SSI processing to JSP pages,
javascript, or any other content you wish.</p>
JavaScript, or any other content you wish.</p>
<p>By default SSI support is disabled in Tomcat.</p>
</section>

Expand Down
2 changes: 1 addition & 1 deletion webapps/docs/ssl-howto.xml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ scenarios, they are not suitable for any form of production use.</p>

<p>When securing a website with SSL it's important to make sure that all assets
that the site uses are served over SSL, so that an attacker can&apos;t bypass
the security by injecting malicious content in a javascript file or similar. To
the security by injecting malicious content in a JavaScript file or similar. To
further enhance the security of your website, you should evaluate to use the
HSTS header. It allows you to communicate to the browser that your site should
always be accessed over https.</p>
Expand Down
4 changes: 2 additions & 2 deletions webapps/examples/websocket/chat.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@
]]></script>
</head>
<body>
<div class="noscript"><h2 style="color: #ff0000">Seems your browser doesn't support Javascript! Websockets rely on Javascript being enabled. Please enable
Javascript and reload this page!</h2></div>
<div class="noscript"><h2 style="color: #ff0000">Seems your browser doesn't support JavaScript! Websockets rely on JavaScript being enabled. Please enable
JavaScript and reload this page!</h2></div>
<div>
<p>
<input type="text" placeholder="type and press enter to chat" id="chat" />
Expand Down
4 changes: 2 additions & 2 deletions webapps/examples/websocket/drawboard.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -858,8 +858,8 @@
]]></script>
</head>
<body>
<div class="noscript"><div style="color: #ff0000; font-size: 16pt;">Seems your browser doesn't support Javascript! Websockets rely on Javascript being enabled. Please enable
Javascript and reload this page!</div></div>
<div class="noscript"><div style="color: #ff0000; font-size: 16pt;">Seems your browser doesn't support JavaScript! Websockets rely on JavaScript being enabled. Please enable
JavaScript and reload this page!</div></div>
<div id="labelContainer"/>
<div id="drawContainer"/>
<div id="console-container"/>
Expand Down
4 changes: 2 additions & 2 deletions webapps/examples/websocket/echo.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@
]]></script>
</head>
<body>
<div class="noscript"><h2 style="color: #ff0000">Seems your browser doesn't support Javascript! Websockets rely on Javascript being enabled. Please enable
Javascript and reload this page!</h2></div>
<div class="noscript"><h2 style="color: #ff0000">Seems your browser doesn't support JavaScript! Websockets rely on JavaScript being enabled. Please enable
JavaScript and reload this page!</h2></div>
<div>
<div id="connect-container">
<div>
Expand Down
4 changes: 2 additions & 2 deletions webapps/examples/websocket/snake.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
]]></style>
</head>
<body>
<div class="noscript"><h2 style="color: #ff0000">Seems your browser doesn't support Javascript! Websockets rely on Javascript being enabled. Please enable
Javascript and reload this page!</h2></div>
<div class="noscript"><h2 style="color: #ff0000">Seems your browser doesn't support JavaScript! Websockets rely on JavaScript being enabled. Please enable
JavaScript and reload this page!</h2></div>
<div style="float: left">
<canvas id="playground" width="640" height="480"/>
</div>
Expand Down

0 comments on commit 96b5ab3

Please sign in to comment.