Skip to content

Commit c1bb7e9

Browse files
committed
Revert "Remove prior build files"
This reverts commit db2822f.
1 parent e0a4be3 commit c1bb7e9

19 files changed

+3041
-0
lines changed

Gruntfile.js

Lines changed: 444 additions & 0 deletions
Large diffs are not rendered by default.

package-lock.json

Lines changed: 2273 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "codeorigin.jquery.com",
3+
"title": "jQuery CDN",
4+
"version": "1.0.1",
5+
"homepage": "https://github.com/jquery/codeorigin.jquery.com",
6+
"author": {
7+
"name": "jQuery Foundation and other contributors"
8+
},
9+
"repository": {
10+
"type": "git",
11+
"url": "git://github.com/jquery/codeorigin.jquery.com.git"
12+
},
13+
"bugs": {
14+
"url": "https://github.com/jquery/codeorigin.jquery.com/issues"
15+
},
16+
"license": "MIT",
17+
"dependencies": {
18+
"grunt": "1.1.0",
19+
"grunt-cli": "1.3.2",
20+
"grunt-jquery-content": "3.0.3",
21+
"grunt-sri": "0.2.0",
22+
"handlebars": "4.7.6",
23+
"lodash": "4.17.15",
24+
"semver": "7.3.2"
25+
}
26+
}

templates/color-git.hbs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<h2>jQuery Color - Git Builds</h2>
2+
<p>UNSTABLE, NOT FOR PRODUCTION</p>
3+
4+
<ul>
5+
<li>
6+
jQuery Color git build -
7+
<a href="/color/jquery.color-git.js">uncompressed</a>
8+
</li>
9+
<li>
10+
jQuery Color SVG Color Names git build -
11+
<a href="/color/jquery.color.svg-names-git.js">uncompressed</a>
12+
</li>
13+
<li>
14+
jQuery Color With Names (last two together) git build -
15+
<a href="/color/jquery.color.plus-names-git.js">uncompressed</a>
16+
</li>
17+
</ul>

templates/color-release.hbs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<ul>
2+
<li>{{release "jQuery Color" this}}</li>
3+
{{#if svgNames}}
4+
<li>{{release "jQuery Color SVG Color Names" svgNames}}</li>
5+
{{/if}}
6+
{{#if plusNames}}
7+
<li>{{release "jQuery Color With Names (last two together)" plusNames}}</li>
8+
{{/if}}
9+
</ul>

templates/color.hbs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<script>{
2+
"title": "jQuery Color - All Versions"
3+
}</script>
4+
5+
{{include "color-git"}}
6+
7+
<h2>jQuery Color - All Versions</h2>
8+
{{#each color.all}}
9+
<h3>{{version}}</h3>
10+
{{include "color-release"}}
11+
{{/each}}

templates/index.hbs

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
<script>{
2+
"title": "jQuery CDN - Latest Stable Versions"
3+
}</script>
4+
5+
<h2>jQuery Core</h2>
6+
<p>
7+
Showing the latest stable release in each major branch.
8+
<a href="/jquery/">See all versions of jQuery Core</a>.
9+
</p>
10+
11+
{{#each jquery}}
12+
{{#if this.1.latestStable}}
13+
<h3>jQuery {{this.[0]}}.x</h3>
14+
<ul>
15+
<li>{{release "jQuery Core" this.1.latestStable}}</li>
16+
</ul>
17+
{{/if}}
18+
{{/each}}
19+
20+
{{#with migrate.latestStable}}
21+
<h3>jQuery Migrate</h3>
22+
<ul>
23+
<li>{{release "jQuery Migrate" this}}</li>
24+
</ul>
25+
{{/with}}
26+
27+
<h2>jQuery UI</h2>
28+
<p>
29+
Showing the latest stable release for the current and legacy release families.
30+
<a href="/ui/">See all versions of jQuery UI</a>.
31+
</p>
32+
33+
{{#if ui.[0].latestStable}}
34+
{{#with ui.[0]}}
35+
{{include "ui-latest"}}
36+
{{/with}}
37+
{{/if}}
38+
{{#with ui.[1]}}
39+
{{include "ui-latest"}}
40+
{{/with}}
41+
{{#unless ui.[0].latestStable}}
42+
{{#with ui.[2]}}
43+
{{include "ui-latest"}}
44+
{{/with}}
45+
{{/unless}}
46+
{{#with mobile.latestStable}}
47+
<h2>jQuery Mobile</h2>
48+
<p>
49+
Showing the latest stable release for jQuery Mobile.
50+
<a href="/mobile/">See all versions of jQuery Mobile</a>.
51+
</p>
52+
<ul>
53+
{{include "mobile-release"}}
54+
</ul>
55+
{{/with}}
56+
57+
{{#with color.latestStable}}
58+
<h2>jQuery Color</h2>
59+
<p>
60+
Showing the latest stable release for jQuery Color.
61+
<a href="/color/">See all versions of jQuery Color</a>.
62+
</p>
63+
{{include "color-release"}}
64+
{{/with}}
65+
66+
<h2>QUnit</h2>
67+
<p>
68+
Showing the latest stable release for QUnit.
69+
<a href="/qunit/">See all versions of QUnit</a>.
70+
</p>
71+
72+
{{#with qunit.latestStable}}
73+
<ul>
74+
{{include "qunit-release"}}
75+
</ul>
76+
{{/with}}
77+
78+
<h2>PEP</h2>
79+
<p>
80+
Showing the latest stable release for PEP.
81+
<a href="/pep/">See all versions of PEP</a>.
82+
</p>
83+
84+
{{#with pep.latestStable}}
85+
<ul>
86+
{{include "pep-release"}}
87+
</ul>
88+
{{/with}}

templates/jquery-git.hbs

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<h2>jQuery Core &amp; Migrate - Git Builds</h2>
2+
<p>UNSTABLE, NOT FOR PRODUCTION</p>
3+
4+
<ul>
5+
<li>
6+
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>
11+
</li>
12+
<li>
13+
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>
18+
</li>
19+
<li>
20+
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>
23+
</li>
24+
<li>
25+
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>
28+
</li>
29+
<li>
30+
jQuery Migrate git build</a> -
31+
<a href="/jquery-migrate-git.js">uncompressed</a>,
32+
<a href="/jquery-migrate-git.min.js">minified</a>
33+
</li>
34+
</ul>

templates/jquery.hbs

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<script>{
2+
"title": "jQuery Core - All Versions"
3+
}</script>
4+
5+
{{include "jquery-git"}}
6+
7+
{{#each jquery}}
8+
{{#if this.1.all}}
9+
<h2 id="jquery-all-{{this.[0]}}.x">jQuery Core - All {{this.[0]}}.x Versions</h2>
10+
<ul>
11+
{{#each this.1.all}}
12+
<li>{{release "jQuery Core" this}}</li>
13+
{{/each}}
14+
</ul>
15+
{{/if}}
16+
{{/each}}
17+
18+
{{#with migrate}}
19+
<h2 id="jquery-migrate-all">jQuery Migrate - All Versions</h2>
20+
<ul>
21+
{{#each all}}
22+
<li>{{release "jQuery Migrate" this}}</li>
23+
{{/each}}
24+
</ul>
25+
{{/with}}

templates/mobile-git.hbs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<h2>jQuery Mobile - Git Builds</h2>
2+
<p>UNSTABLE, NOT FOR PRODUCTION</p>
3+
4+
<ul>
5+
<li>
6+
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>)
11+
</li>
12+
</ul>

templates/mobile-release.hbs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<li>
2+
jQuery Mobile {{version}} -
3+
<a href="/{{filename}}">uncompressed</a>,
4+
<a href="/{{minified}}">minified</a>,
5+
<a href="/{{minifiedCss}}">theme</a>
6+
{{#if minifiedStructure}}
7+
(<a href="/{{minifiedStructure}}">structure only</a>)
8+
{{/if}}
9+
</li>

templates/mobile.hbs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<script>{
2+
"title": "jQuery Mobile - All Versions"
3+
}</script>
4+
5+
{{include "mobile-git"}}
6+
7+
<h2>jQuery Mobile - All Versions</h2>
8+
<ul>
9+
{{#each mobile.all}}
10+
{{include "mobile-release"}}
11+
{{/each}}
12+
</ul>

templates/pep-release.hbs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<li>
2+
PEP {{version}} -
3+
<a href="/{{filename}}">uncompressed</a>,
4+
<a href="/{{minified}}">minified</a>
5+
</li>

templates/pep.hbs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<script>{
2+
"title": "PEP - All Versions"
3+
}</script>
4+
5+
<h2>PEP - All Versions</h2>
6+
<ul>
7+
{{#each pep.all}}
8+
{{include "pep-release"}}
9+
{{/each}}
10+
</ul>

templates/qunit-release.hbs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<li>
2+
QUnit {{version}} -
3+
{{sriLink filename "uncompressed"}},
4+
{{sriLink theme "theme"}}
5+
</li>

templates/qunit.hbs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<script>{
2+
"title": "QUnit - All Versions"
3+
}</script>
4+
5+
<h2>QUnit - All Versions</h2>
6+
<ul>
7+
{{#each qunit.all}}
8+
{{include "qunit-release"}}
9+
{{/each}}
10+
</ul>

templates/ui-git.hbs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<h2>jQuery UI - Git Builds</h2>
2+
<p>UNSTABLE, NOT FOR PRODUCTION</p>
3+
4+
<ul>
5+
<li>
6+
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>
9+
</li>
10+
</ul>

templates/ui-latest.hbs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<h3>jQuery UI {{major}}</h3>
2+
{{#with latestStable}}
3+
<ul>
4+
<li>{{release "jQuery UI" this}}</li>
5+
<li>Themes:
6+
{{#each themes}}
7+
<a href="/ui/{{../version}}/themes/{{this}}/jquery-ui.css">{{this}}</a>
8+
{{/each}}
9+
</li>
10+
</ul>
11+
{{/with}}

templates/ui.hbs

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<script>{
2+
"title": "jQuery UI - All Versions"
3+
}</script>
4+
5+
{{include "ui-git"}}
6+
7+
{{#each ui}}
8+
<h2>jQuery UI {{major}}</h2>
9+
{{#if latestStable}}
10+
{{release "jQuery UI" latestStable}}
11+
<h3>Themes</h3>
12+
{{#each latestStable.themes}}
13+
<a href="/ui/{{../latestStable/version}}/themes/{{this}}/jquery-ui.css">{{this}}</a>
14+
{{/each}}
15+
{{/if}}
16+
{{#if all.length}}
17+
{{#if latestStable}}
18+
<h3>Previous Releases</h3>
19+
{{else}}
20+
<h3>Pre-Releases</h3>
21+
{{/if}}
22+
<ul>
23+
{{#each all}}
24+
<li>
25+
{{release "jQuery UI" this}}, {{uiTheme this}}
26+
</li>
27+
{{/each}}
28+
</ul>
29+
{{/if}}
30+
{{/each}}

0 commit comments

Comments
 (0)