moved to requirejs

This commit is contained in:
didier amyot committed 2016-02-06 23:46:10 -05:00
1 parent b651c6ac5e
commit 0565d23cc8
19 files changed
+468 -456

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
define(['m', '_'], function (m, _) {
var teams = {};
teams.getTeamColor = function(teamName){
if(teamName == 'jaune'){
return 'yellow';
}
if(teamName == 'rouge'){
return 'red';
}
if(teamName == 'bleu'){
return 'bleu';
}
if(teamName == 'gris'){
return 'grey';
}
};
return teams;
});