Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit b51ceaa

Browse files
committed
build: update app version to 1.7.x; update download modal to show 1.7.x
1 parent 7989906 commit b51ceaa

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

scripts/build.js

Lines changed: 1 addition & 1 deletion
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.6'];
15+
const CDN_VERSIONS = ['1.2', '1.7'];
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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
<base href="/">
2525

2626
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
27-
<script id="angularScript" src="https://ajax.googleapis.com/ajax/libs/angularjs/${CDN_VERSION_1_6}/angular.min.js"></script>
28-
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/${CDN_VERSION_1_6}/angular-animate.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>
2929

3030
<!--[if lte IE 8]>
3131
<script>
@@ -934,15 +934,15 @@ <h2>JavaScript Projects</h2>
934934
<script src="js/homepage.js"></script>
935935
<script src="js/download-data.js"></script>
936936
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/1.1.2/ui-bootstrap-tpls.min.js"></script>
937-
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/${CDN_VERSION_1_6}/angular-resource.min.js"></script>
938-
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/${CDN_VERSION_1_6}/angular-route.min.js"></script>
937+
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/${CDN_VERSION_1_7}/angular-resource.min.js"></script>
938+
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/${CDN_VERSION_1_7}/angular-route.min.js"></script>
939939
<script src="https://cdn.firebase.com/js/client/2.0.4/firebase.js"></script>
940940
<script src="https://cdn.firebase.com/libs/angularfire/0.9.0/angularfire.min.js"></script>
941-
<script src="https://code.angularjs.org/${CDN_VERSION_1_6}/i18n/angular-locale_sk.js"></script>
941+
<script src="https://code.angularjs.org/${CDN_VERSION_1_7}/i18n/angular-locale_sk.js"></script>
942942
<script>
943943
angular.module('ngLocal.sk', [])._configBlocks.push(angular.module('ngLocale')._configBlocks[0]);
944944
</script>
945-
<script src="https://code.angularjs.org/${CDN_VERSION_1_6}/i18n/angular-locale_en-us.js"></script>
945+
<script src="https://code.angularjs.org/${CDN_VERSION_1_7}/i18n/angular-locale_en-us.js"></script>
946946
<script>
947947
angular.module('ngLocal.us', [])._configBlocks.push(angular.module('ngLocale')._configBlocks[0]);
948948
angular.bootstrap(document, ['ngRoute', 'homepage', 'ngLocal.us']);

src/js/download-data.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ angular.module('download-data', [])
22

33
.value('BRANCHES', [
44
{
5-
branch: '1.6.*', version: '${CDN_VERSION_1_6}',
6-
title: '1.6.x (latest)',
7-
cssClass: 'branch-1-6-x',
5+
branch: '1.7.*', version: '${CDN_VERSION_1_7}',
6+
title: '1.7.x (latest)',
7+
cssClass: 'branch-1-7-x',
88
showOnButton: true
99
},
1010
{

0 commit comments

Comments
 (0)