lazy load scripts

This commit is contained in:
Luke Pulverenti 2015-05-17 15:50:37 -04:00
parent 0a670a4635
commit c5802fc5ab
38 changed files with 224 additions and 162 deletions

View file

@ -2,19 +2,11 @@
function getView() {
if (AppInfo.hasLowImageBandwidth) {
return 'PosterCard';
}
return 'PosterCard';
}
function getResumeView() {
if (AppInfo.hasLowImageBandwidth) {
return 'ThumbCard';
}
return 'ThumbCard';
}
@ -33,9 +25,6 @@
function loadLatest(page, userId, parentId) {
var limit = 18;
if (AppInfo.hasLowImageBandwidth) {
limit = 10;
}
var options = {