Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7f3859e

Browse files
committedOct 29, 2015
Merge pull request #508 from appirio-tech/feature/tom-assembly-mapping
map assembly competition -> assembly
2 parents bbcbd24 + ca90606 commit 7f3859e

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)
This repository has been archived.