Skip to content

Commit 8f0adb5

Browse files
authored
Renames main.js to app.js (#2341)
* Renames main.js to app.js closes #2340
1 parent 1d51097 commit 8f0adb5

File tree

13 files changed

+15
-11
lines changed

13 files changed

+15
-11
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 9.0.0 (TBD)
4+
5+
* Rename CSS file [#2342](https://github.com/h5bp/html5-boilerplate/pull/2342) and JS file [#2341](https://github.com/h5bp/html5-boilerplate/pull/2341)
6+
37
## 8.0.0 (June 04, 2020)
48

59
* Add a sample package.json with basic Parcel commands ([#2227](https://github.com/h5bp/html5-boilerplate/pull/2229)), ([231e047](https://github.com/h5bp/html5-boilerplate/commit/231e047d270316b454156dc261e6e04da660e2a2))

dist/doc/html.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ it before the other scripts in the bottom of the page:
168168
<script src="js/vendor/modernizr-3.10.0.min.js"></script>
169169
<script src="https://polyfill.io/v3/polyfill.min.js"></script>
170170
<script src="js/plugins.js"></script>
171-
<script src="js/main.js"></script>
171+
<script src="js/app.js"></script>
172172
</body>
173173
```
174174

dist/doc/js.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ table of contents](TOC.md)
55

66
Information about the default JavaScript included in the project.
77

8-
## main.js
8+
## app.js
99

1010
This file can be used to contain or reference your site/app JavaScript code. If
1111
you're working on something more advanced you might replace this file entirely.

dist/doc/usage.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ A basic HTML5 Boilerplate site initially looks something like this:
3535
├── doc
3636
├── img
3737
├── js
38-
│ ├── main.js
38+
│ ├── app.js
3939
│ ├── plugins.js
4040
│ └── vendor
4141
│ └── modernizr.min.js

dist/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<p>Hello world! This is HTML5 Boilerplate.</p>
2929
<script src="js/vendor/modernizr-3.11.3.min.js"></script>
3030
<script src="js/plugins.js"></script>
31-
<script src="js/main.js"></script>
31+
<script src="js/app.js"></script>
3232

3333
<!-- Google Analytics: change UA-XXXXX-Y to be your site's ID. -->
3434
<script>

dist/js/main.js dist/js/app.js

File renamed without changes.

dist/js/vendor/modernizr-3.11.3.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/doc/html.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ it before the other scripts in the bottom of the page:
168168
<script src="js/vendor/modernizr-3.10.0.min.js"></script>
169169
<script src="https://polyfill.io/v3/polyfill.min.js"></script>
170170
<script src="js/plugins.js"></script>
171-
<script src="js/main.js"></script>
171+
<script src="js/app.js"></script>
172172
</body>
173173
```
174174

src/doc/js.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ table of contents](TOC.md)
55

66
Information about the default JavaScript included in the project.
77

8-
## main.js
8+
## app.js
99

1010
This file can be used to contain or reference your site/app JavaScript code. If
1111
you're working on something more advanced you might replace this file entirely.

src/doc/usage.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ A basic HTML5 Boilerplate site initially looks something like this:
3535
├── doc
3636
├── img
3737
├── js
38-
│ ├── main.js
38+
│ ├── app.js
3939
│ ├── plugins.js
4040
│ └── vendor
4141
│ └── modernizr.min.js

src/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<p>Hello world! This is HTML5 Boilerplate.</p>
2929
<script src="js/vendor/modernizr-{{MODERNIZR_VERSION}}.min.js"></script>
3030
<script src="js/plugins.js"></script>
31-
<script src="js/main.js"></script>
31+
<script src="js/app.js"></script>
3232

3333
<!-- Google Analytics: change UA-XXXXX-Y to be your site's ID. -->
3434
<script>

src/js/main.js src/js/app.js

File renamed without changes.

test/file_existence.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const expectedFilesInDistDir = [
4747
'index.html',
4848

4949
'js/',
50-
'js/main.js',
50+
'js/app.js',
5151
'js/plugins.js',
5252
'js/vendor/',
5353
`js/vendor/modernizr-${pkg.devDependencies.modernizr}.min.js`,

0 commit comments

Comments
 (0)