Skip to content

Commit 1262134

Browse files
mgolKrinkle
authored andcommitted
Build: Switch URLs for git files to use /git/ directory
Git files are now served from the `/git/` directory. Support for this was added on the server in the private commit at jquery/infrastructure@aeae9f8728b. This is in preparation for a new browser at releases.jquery.com, and that server will only support `/git/` for these files. The codeorigin server will supporting both the top-level access and /git/ access, by making them redirect to releases.jquery.com. Ref #70.
1 parent fd8454b commit 1262134

File tree

5 files changed

+24
-23
lines changed

5 files changed

+24
-23
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/node_modules/
22
/dist/
3+
/git/
34
/config.js*

templates/color-git.hbs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
<ul>
55
<li>
66
jQuery Color git build -
7-
<a href="/color/jquery.color-git.js">uncompressed</a>
7+
<a href="/git/color/jquery.color-git.js">uncompressed</a>
88
</li>
99
<li>
1010
jQuery Color SVG Color Names git build -
11-
<a href="/color/jquery.color.svg-names-git.js">uncompressed</a>
11+
<a href="/git/color/jquery.color.svg-names-git.js">uncompressed</a>
1212
</li>
1313
<li>
1414
jQuery Color With Names (last two together) git build -
15-
<a href="/color/jquery.color.plus-names-git.js">uncompressed</a>
15+
<a href="/git/color/jquery.color.plus-names-git.js">uncompressed</a>
1616
</li>
1717
</ul>

templates/jquery-git.hbs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,31 @@
44
<ul>
55
<li>
66
jQuery git build</a> -
7-
<a href="/jquery-git.js">uncompressed</a>,
8-
<a href="/jquery-git.min.js">minified</a>,
9-
<a href="/jquery-git.slim.js">slim</a>,
10-
<a href="/jquery-git.slim.min.js">slim minified</a>
7+
<a href="/git/jquery-git.js">uncompressed</a>,
8+
<a href="/git/jquery-git.min.js">minified</a>,
9+
<a href="/git/jquery-git.slim.js">slim</a>,
10+
<a href="/git/jquery-git.slim.min.js">slim minified</a>
1111
</li>
1212
<li>
1313
jQuery 3.x git build</a> -
14-
<a href="/jquery-3.x-git.js">uncompressed</a>,
15-
<a href="/jquery-3.x-git.min.js">minified</a>,
16-
<a href="/jquery-3.x-git.slim.js">slim</a>,
17-
<a href="/jquery-3.x-git.slim.min.js">slim minified</a>
14+
<a href="/git/jquery-3.x-git.js">uncompressed</a>,
15+
<a href="/git/jquery-3.x-git.min.js">minified</a>,
16+
<a href="/git/jquery-3.x-git.slim.js">slim</a>,
17+
<a href="/git/jquery-3.x-git.slim.min.js">slim minified</a>
1818
</li>
1919
<li>
2020
jQuery 2.x git build</a> -
21-
<a href="/jquery-2.x-git.js">uncompressed</a>,
22-
<a href="/jquery-2.x-git.min.js">minified</a>
21+
<a href="/git/jquery-2.x-git.js">uncompressed</a>,
22+
<a href="/git/jquery-2.x-git.min.js">minified</a>
2323
</li>
2424
<li>
2525
jQuery 1.x git build</a> -
26-
<a href="/jquery-1.x-git.js">uncompressed</a>,
27-
<a href="/jquery-1.x-git.min.js">minified</a>
26+
<a href="/git/jquery-1.x-git.js">uncompressed</a>,
27+
<a href="/git/jquery-1.x-git.min.js">minified</a>
2828
</li>
2929
<li>
3030
jQuery Migrate git build</a> -
31-
<a href="/jquery-migrate-git.js">uncompressed</a>,
32-
<a href="/jquery-migrate-git.min.js">minified</a>
31+
<a href="/git/jquery-migrate-git.js">uncompressed</a>,
32+
<a href="/git/jquery-migrate-git.min.js">minified</a>
3333
</li>
3434
</ul>

templates/mobile-git.hbs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<ul>
55
<li>
66
jQuery Mobile git build -
7-
<a href="/mobile/git/jquery.mobile-git.js">uncompressed</a>,
8-
<a href="/mobile/git/jquery.mobile-git.min.js">minified</a>,
9-
<a href="/mobile/git/jquery.mobile-git.css">theme</a>
10-
(<a href="/mobile/git/jquery.mobile-git.min.css">minified</a>)
7+
<a href="/git/mobile/git/jquery.mobile-git.js">uncompressed</a>,
8+
<a href="/git/mobile/git/jquery.mobile-git.min.js">minified</a>,
9+
<a href="/git/mobile/git/jquery.mobile-git.css">theme</a>
10+
(<a href="/git/mobile/git/jquery.mobile-git.min.css">minified</a>)
1111
</li>
1212
</ul>

templates/ui-git.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<ul>
55
<li>
66
jQuery UI git build</a> -
7-
<a href="/ui/jquery-ui-git.js">uncompressed</a>,
8-
<a href="/ui/jquery-ui-git.css">theme</a>
7+
<a href="/git/ui/jquery-ui-git.js">uncompressed</a>,
8+
<a href="/git/ui/jquery-ui-git.css">theme</a>
99
</li>
1010
</ul>

0 commit comments

Comments
 (0)