for var in StaticFiles var StaticFiles indexOf css -1 css js replace

1
2
3
4
5
6
7
for (var i in StaticFiles) {
var f = StaticFiles[i];
f.t = (i.indexOf('.css') != -1) ? 'css' : 'js';
f.n = i.replace(/[\\/\\.]/g, '_');
f.l = 0;
f.c = 0;
}