Skip to content

Commit 954292e

Browse files
yyclouietyj
authored andcommitted
Replace all rawgit urls with github pages URLs
1 parent 3ba491e commit 954292e

File tree

11 files changed

+16
-16
lines changed

11 files changed

+16
-16
lines changed

claims/claim-example.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ var config = {
8080
// DO NOT CHANGE THE BOTTOM UNLESS YOU KNOW WHAT YOU ARE DOING
8181
// ***********************************************************
8282

83-
var core_script = 'https://rawgit.com/nusmodifications/nus-soc-scripts/master/claims/claim.js';
83+
var core_script = 'https://nusmodifications.github.io/nus-scripts/claims/claim.js';
8484
var c = undefined;
8585
$.getScript(core_script)
8686
.done(function () {

claims/module-claims/claim-cs1010s-40hrs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ var config = {
9696
// DO NOT CHANGE THE BOTTOM UNLESS YOU KNOW WHAT YOU ARE DOING
9797
// ***********************************************************
9898

99-
var core_script = 'https://rawgit.com/nusmodifications/nus-scripts/master/claims/claim.js';
99+
var core_script = 'https://nusmodifications.github.io/nus-scripts/claims/claim.js';
100100
var c = undefined;
101101
$.getScript(core_script)
102102
.done(function () {

claims/module-claims/claim-cs1010s.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ var config = {
112112
// DO NOT CHANGE THE BOTTOM UNLESS YOU KNOW WHAT YOU ARE DOING
113113
// ***********************************************************
114114

115-
var core_script = 'https://rawgit.com/nusmodifications/nus-scripts/master/claims/claim.js';
115+
var core_script = 'https://nusmodifications.github.io/nus-scripts/claims/claim.js';
116116
var c = undefined;
117117
$.getScript(core_script)
118118
.done(function () {

claims/module-claims/claim-cs1010x-ay1516s2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ var config = {
7373
// DO NOT CHANGE THE BOTTOM UNLESS YOU KNOW WHAT YOU ARE DOING
7474
// ***********************************************************
7575

76-
var core_script = 'https://rawgit.com/nusmodifications/nus-scripts/master/claims/claim.js';
76+
var core_script = 'https://nusmodifications.github.io/nus-scripts/claims/claim.js';
7777
var c = undefined;
7878
$.getScript(core_script)
7979
.done(function () {

claims/module-claims/claim-cs1101s.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ var config = {
188188
// DO NOT CHANGE THE BOTTOM UNLESS YOU KNOW WHAT YOU ARE DOING
189189
// ***********************************************************
190190

191-
var core_script = 'https://yyc.github.io/nus-scripts/claims/claim.js';
191+
var core_script = 'https://nusmodifications.github.io/nus-scripts/claims/claim.js';
192192
var c = undefined;
193193
$.getScript(core_script)
194194
.done(function () {

claims/module-claims/claim-cs2010-lab.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ var config = {
7272
// DO NOT CHANGE THE BOTTOM UNLESS YOU KNOW WHAT YOU ARE DOING
7373
// ***********************************************************
7474

75-
var core_script = 'https://rawgit.com/nusmodifications/nus-scripts/master/claims/claim.js';
75+
var core_script = 'https://nusmodifications.github.io/nus-scripts/claims/claim.js';
7676
var c = undefined;
7777
$.getScript(core_script)
7878
.done(function () {

claims/module-claims/claim-cs3216.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ var config = {
4747

4848
// 2018: 24 hours of assignment marking and 6 hours of course material preparation!
4949

50-
for (var week = 4; week <= 10; week+=2) {
50+
for (var week = 4; week <= 10; week += 2) {
5151
activities_list.push({
5252
activity_type: Claim.ASSIGNMENT_MARKING,
5353
week: week,
@@ -63,9 +63,9 @@ var config = {
6363
end_time: '1900'
6464
});
6565
}
66-
66+
6767
activities_list.push({
68-
activity_type: Claim.COURSE_MATERIAL_PREPARATION, // Now called "Course Material Creation".
68+
activity_type: Claim.COURSE_MATERIAL_PREPARATION, // Now called "Course Material Creation".
6969
week: 1,
7070
day: 'MONDAY',
7171
start_time: '0900',
@@ -80,16 +80,16 @@ var config = {
8080
// DO NOT CHANGE THE BOTTOM UNLESS YOU KNOW WHAT YOU ARE DOING
8181
// ***********************************************************
8282

83-
if (!STUDENT_ID) { // Chrome does not allow window.prompt() to run on an inactive tab.
83+
if (!STUDENT_ID) { // Chrome does not allow window.prompt() to run on an inactive tab.
8484
alert('Please modify STUDENT_ID in the code, or run STUDENT_ID="a0123456" before pasting and running the code.');
8585
} else {
86-
var core_script = 'https://yyc.github.io/nus-scripts/claims/claim.js';
86+
var core_script = 'https://nusmodifications.github.io/nus-scripts/claims/claim.js';
8787
var c = undefined;
8888
$.getScript(core_script)
8989
.done(function () {
9090
c = new Claim(config);
9191
})
92-
.fail(function (jqxhr, settings, exception ) {
92+
.fail(function (jqxhr, settings, exception) {
9393
console.warn('Error loading script');
9494
console.warn(jqxhr);
9595
console.warn(exception);

claims/module-claims/claim-cs3217.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ var config = {
8888
// DO NOT CHANGE THE BOTTOM UNLESS YOU KNOW WHAT YOU ARE DOING
8989
// ***********************************************************
9090

91-
var core_script = 'https://rawgit.com/nusmodifications/nus-scripts/master/claims/claim.js';
91+
var core_script = 'https://nusmodifications.github.io/nus-scripts/claims/claim.js';
9292
var c = undefined;
9393
$.getScript(core_script)
9494
.done(function () {

claims/module-claims/claim-cs3240.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ var config = {
5757
// DO NOT CHANGE THE BOTTOM UNLESS YOU KNOW WHAT YOU ARE DOING
5858
// ***********************************************************
5959

60-
var core_script = 'https://rawgit.com/nusmodifications/nus-scripts/master/claims/claim.js';
60+
var core_script = 'https://nusmodifications.github.io/nus-scripts/claims/claim.js';
6161
var c = undefined;
6262
$.getScript(core_script)
6363
.done(function () {

claims/module-claims/claim-cs3281.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ var config = {
115115
// DO NOT CHANGE THE BOTTOM UNLESS YOU KNOW WHAT YOU ARE DOING
116116
// ***********************************************************
117117

118-
var core_script = 'https://rawgit.com/nusmodifications/nus-scripts/master/claims/claim.js';
118+
var core_script = 'https://nusmodifications.github.io/nus-scripts/claims/claim.js';
119119
var c = undefined;
120120
$.getScript(core_script)
121121
.done(function () {

0 commit comments

Comments
 (0)