Skip to content

Commit 96b5ab3

Browse files
jbamptonmarkt-asf
authored andcommitted
Fix case of JavaScript.
Changes were: - `javascript` to `JavaScript` - `Javascript` to `JavaScript`
1 parent 091f11f commit 96b5ab3

File tree

9 files changed

+13
-13
lines changed

9 files changed

+13
-13
lines changed

conf/web.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@
548548
<!-- this to work you will need to uncomment the .shtml mime type -->
549549
<!-- definition towards the bottom of this file. -->
550550
<!-- The contentType init param allows you to apply SSI processing to JSP -->
551-
<!-- pages, javascript, or any other content you wish. This filter -->
551+
<!-- pages, JavaScript, or any other content you wish. This filter -->
552552
<!-- supports the following initialization parameters (default values are -->
553553
<!-- in square brackets): -->
554554
<!-- -->

java/org/apache/catalina/filters/ExpiresFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
* </p>
8282
* <h2>Filter Configuration</h2><h3>Basic configuration to add
8383
* '{@code Expires}' and '{@code Cache-Control: max-age=}'
84-
* headers to images, css and javascript</h3>
84+
* headers to images, css and JavaScript</h3>
8585
*
8686
* <pre>
8787
* {@code

webapps/docs/config/filter.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ HTTP/1.1 200 OK
508508
<subsection name="Basic configuration sample">
509509
<p>
510510
Basic configuration to add '<code>Expires</code>' and '<code>Cache-Control: max-age=</code>'
511-
headers to images, css and javascript.
511+
headers to images, css and JavaScript.
512512
</p>
513513

514514
<source><![CDATA[<filter>

webapps/docs/ssi-howto.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ is mapped to the URL pattern "*.shtml".</p>
6161
is mapped to the URL pattern "*.shtml", though it can be mapped to "*" as
6262
it will selectively enable/disable SSI processing based on mime types. The
6363
contentType init param allows you to apply SSI processing to JSP pages,
64-
javascript, or any other content you wish.</p>
64+
JavaScript, or any other content you wish.</p>
6565
<p>By default SSI support is disabled in Tomcat.</p>
6666
</section>
6767

webapps/docs/ssl-howto.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ scenarios, they are not suitable for any form of production use.</p>
155155

156156
<p>When securing a website with SSL it's important to make sure that all assets
157157
that the site uses are served over SSL, so that an attacker can&apos;t bypass
158-
the security by injecting malicious content in a javascript file or similar. To
158+
the security by injecting malicious content in a JavaScript file or similar. To
159159
further enhance the security of your website, you should evaluate to use the
160160
HSTS header. It allows you to communicate to the browser that your site should
161161
always be accessed over https.</p>

webapps/examples/websocket/chat.xhtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@
122122
]]></script>
123123
</head>
124124
<body>
125-
<div class="noscript"><h2 style="color: #ff0000">Seems your browser doesn't support Javascript! Websockets rely on Javascript being enabled. Please enable
126-
Javascript and reload this page!</h2></div>
125+
<div class="noscript"><h2 style="color: #ff0000">Seems your browser doesn't support JavaScript! Websockets rely on JavaScript being enabled. Please enable
126+
JavaScript and reload this page!</h2></div>
127127
<div>
128128
<p>
129129
<input type="text" placeholder="type and press enter to chat" id="chat" />

webapps/examples/websocket/drawboard.xhtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -858,8 +858,8 @@
858858
]]></script>
859859
</head>
860860
<body>
861-
<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
862-
Javascript and reload this page!</div></div>
861+
<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
862+
JavaScript and reload this page!</div></div>
863863
<div id="labelContainer"/>
864864
<div id="drawContainer"/>
865865
<div id="console-container"/>

webapps/examples/websocket/echo.xhtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@
136136
]]></script>
137137
</head>
138138
<body>
139-
<div class="noscript"><h2 style="color: #ff0000">Seems your browser doesn't support Javascript! Websockets rely on Javascript being enabled. Please enable
140-
Javascript and reload this page!</h2></div>
139+
<div class="noscript"><h2 style="color: #ff0000">Seems your browser doesn't support JavaScript! Websockets rely on JavaScript being enabled. Please enable
140+
JavaScript and reload this page!</h2></div>
141141
<div>
142142
<div id="connect-container">
143143
<div>

webapps/examples/websocket/snake.xhtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
]]></style>
5050
</head>
5151
<body>
52-
<div class="noscript"><h2 style="color: #ff0000">Seems your browser doesn't support Javascript! Websockets rely on Javascript being enabled. Please enable
53-
Javascript and reload this page!</h2></div>
52+
<div class="noscript"><h2 style="color: #ff0000">Seems your browser doesn't support JavaScript! Websockets rely on JavaScript being enabled. Please enable
53+
JavaScript and reload this page!</h2></div>
5454
<div style="float: left">
5555
<canvas id="playground" width="640" height="480"/>
5656
</div>

0 commit comments

Comments
 (0)