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

Commit 3610c13

Browse files
author
vikasrohit
committed
Merge branch 'dev' into feature/quick-fixes-after-ga-release
* dev: map assembly competition -> assembly
2 parents 3134c61 + 7f3859e commit 3610c13

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

app/filters/track.filter.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
var map = {
1111
'UI_PROTOTYPE_COMPETITION': 'UI Prototype Competition',
12+
'ASSEMBLY_COMPETITION': 'ASSEMBLY',
1213
'RIA_BUILD_COMPETITION': 'RIA Build Competition',
1314
'RIA_COMPONENT_COMPETITION': 'RIA Component Competition',
1415
'DEVELOP_MARATHON_MATCH': 'Marathon Match',

app/filters/underscore-strip.filter.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55

66
function underscoreStrip() {
77
return function(string) {
8+
var map = {
9+
'ASSEMBLY_COMPETITION': 'ASSEMBLY'
10+
};
11+
if (map[string]) {
12+
return map[string];
13+
}
814
if (!string) {
915
return '';
1016
}

0 commit comments

Comments
 (0)