Skip to content

Commit a816e9f

Browse files
committedJun 16, 2020
chore(build): update to 1.8.x
1 parent 4f3df07 commit a816e9f

File tree

4 files changed

+541
-155
lines changed

4 files changed

+541
-155
lines changed
 

‎scripts/build.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const utils = require('./utils');
1212
const ROOT_DIR = '.';
1313
const DST_DIR = 'build';
1414
const SRC_DIR = 'src';
15-
const CDN_VERSIONS = ['1.2', '1.7'];
15+
const CDN_VERSIONS = ['1.2', '1.8'];
1616
const CDN_REPLACE_FILES = ['index.html', 'js/download-data.js'];
1717
const GIT_BRANCH_DIST = 'dist';
1818
const PTOR_CONF = process.env.TRAVIS ? 'protractorConfTravis.js' : 'protractorConfLocal.js';

‎src/index.html

+8-6
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@
2424
<base href="/">
2525

2626
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
27-
<script id="angularScript" src="https://ajax.googleapis.com/ajax/libs/angularjs/${CDN_VERSION_1_7}/angular.min.js"></script>
28-
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/${CDN_VERSION_1_7}/angular-animate.min.js"></script>
27+
<script id="angularScript"
28+
src="https://ajax.googleapis.com/ajax/libs/angularjs/${CDN_VERSION_1_8}/angular.min.js"></script>
29+
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/${CDN_VERSION_1_8}/angular-animate.min.js"></script>
30+
</head>
2931

3032
<!--[if lte IE 8]>
3133
<script>
@@ -613,15 +615,15 @@ <h2>Todo</h2>
613615
<script src="js/homepage.js"></script>
614616
<script src="js/download-data.js"></script>
615617
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/1.1.2/ui-bootstrap-tpls.min.js"></script>
616-
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/${CDN_VERSION_1_7}/angular-resource.min.js"></script>
617-
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/${CDN_VERSION_1_7}/angular-route.min.js"></script>
618+
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/${CDN_VERSION_1_8}/angular-resource.min.js"></script>
619+
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/${CDN_VERSION_1_8}/angular-route.min.js"></script>
618620
<script src="https://cdn.firebase.com/js/client/2.0.4/firebase.js"></script>
619621
<script src="https://cdn.firebase.com/libs/angularfire/0.9.0/angularfire.min.js"></script>
620-
<script src="https://code.angularjs.org/${CDN_VERSION_1_7}/i18n/angular-locale_sk.js"></script>
622+
<script src="https://code.angularjs.org/${CDN_VERSION_1_8}/i18n/angular-locale_sk.js"></script>
621623
<script>
622624
angular.module('ngLocal.sk', [])._configBlocks.push(angular.module('ngLocale')._configBlocks[0]);
623625
</script>
624-
<script src="https://code.angularjs.org/${CDN_VERSION_1_7}/i18n/angular-locale_en-us.js"></script>
626+
<script src="https://code.angularjs.org/${CDN_VERSION_1_8}/i18n/angular-locale_en-us.js"></script>
625627
<script>
626628
angular.module('ngLocal.us', [])._configBlocks.push(angular.module('ngLocale')._configBlocks[0]);
627629
angular.bootstrap(document, ['ngRoute', 'homepage', 'ngLocal.us']);

‎src/js/download-data.js

+6-8
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ angular.module('download-data', [])
22

33
.value('BRANCHES', [
44
{
5-
branch: '1.7.*', version: '${CDN_VERSION_1_7}',
6-
title: '1.7.x (latest)',
7-
cssClass: 'branch-1-7-x',
5+
branch: '1.8.*', version: '${CDN_VERSION_1_8}',
6+
title: '1.8.x (latest)',
7+
cssClass: 'branch-1-8-x',
88
showOnButton: true
99
},
1010
{
@@ -24,11 +24,9 @@ angular.module('download-data', [])
2424
.value('DOWNLOAD_INFO', {
2525
branchesInfo:
2626
"<dl class='dl-horizontal'>"+
27-
" <dt>1.7.x (master)</dt>"+
28-
" <dd>This is the currently active development branch (<a href='https://github.com/angular/angular.js/tree/master' target='_blank'>master on Github</a>), which receives new features and may contain breaking changes.</dd>"+
29-
" <dt>Stable 1.6.x</dt>"+
30-
" <dd>This is the latest stable branch (<a href='https://github.com/angular/angular.js/tree/v1.6.x' target='_blank'>v1.6.x on Github</a>), with regular bug fixes and non-breaking features.</dd>"+
31-
" <dt>Legacy 1.2.x</dt>"+
27+
" <dt>LTS Stable 1.8.x</dt>"+
28+
" <dd>This is the latest stable branch (<a href='https://github.com/angular/angular.js/tree/v1.8.x' target='_blank'>v1.8.x on Github</a>), with security related bug fixes only.</dd>"+
29+
" <dt>LTS Legacy 1.2.x</dt>"+
3230
" <dd>This branch contains a legacy version of AngularJS that supports IE8 (<a href='https://github.com/angular/angular.js/tree/v1.2.x' target='_blank'>v1.2.x on Github</a>)." +
3331
" It is not actively developed and will only receive security fixes. It is not recommended for new applications</dd>"+
3432
"</dl>",

‎yarn.lock

+526-140
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)