added a new news
This commit is contained in:
1 parent
9e794ed81e
commit
1d1b697d46
6 files changed
+95
-9
No files matched your search
@@ -38,6 +38,18 @@ define(['m'], function(m) {
|
||||
date.getFullYear() % 1000].join(' ');
|
||||
};
|
||||
|
||||
util.join = function(arr, sep){
|
||||
if(!_.isArray(arr) || arr.length < 1){
|
||||
return [];
|
||||
}
|
||||
var ret = [arr.pop()];
|
||||
_.each(arr, function(elm){
|
||||
ret.push(sep);
|
||||
ret.push(elm);
|
||||
});
|
||||
return ret;
|
||||
};
|
||||
|
||||
util.facebookLink = function(){
|
||||
return m('a[href="https://www.facebook.com/LigueDeBalleLesPhenix"]',
|
||||
m('i.fa.fa-facebook-square')
|
||||
|
||||
Reference in new issue
Block a user