1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 23:20:51 +00:00

Show group recent changes

This commit is contained in:
zhengxie
2015-01-29 14:45:26 +08:00
committed by Daniel Pan
parent 7920f11b41
commit e80a1dfbdb
11 changed files with 339 additions and 58 deletions

View File

@@ -207,6 +207,13 @@ define([
});
},
HTMLescape: function(html){
return document.createElement('div')
.appendChild(document.createTextNode(html))
.parentNode
.innerHTML;
},
pathJoin: function(array) {
var result = array[0];
for (var i = 1; i < array.length; i++) {
@@ -216,7 +223,7 @@ define([
result += '/' + array[i];
}
return result;
},
}
}
});