aboutsummaryrefslogtreecommitdiffstats
path: root/Resources/friendship
diff options
context:
space:
mode:
Diffstat (limited to 'Resources/friendship')
-rw-r--r--Resources/friendship/core/DataManipulation.js8
-rw-r--r--Resources/friendship/ui/LikeList.js3
2 files changed, 10 insertions, 1 deletions
diff --git a/Resources/friendship/core/DataManipulation.js b/Resources/friendship/core/DataManipulation.js
new file mode 100644
index 0000000..e582ed9
--- /dev/null
+++ b/Resources/friendship/core/DataManipulation.js
@@ -0,0 +1,8 @@
+(function() {
+ fs.data = {};
+ fs.data.friends = Array();
+ fs.data.likeIDs = Array();
+ fs.data.reverseChronoLikedIDs = Array();
+ fs.data.numLikesFetched = 0;
+ fs.data.NUM_LIKES_PER_FETCH = 20;
+})(); \ No newline at end of file
diff --git a/Resources/friendship/ui/LikeList.js b/Resources/friendship/ui/LikeList.js
index dfc01c1..187848c 100644
--- a/Resources/friendship/ui/LikeList.js
+++ b/Resources/friendship/ui/LikeList.js
@@ -271,7 +271,8 @@
ll_view.addEventListener("scrollEnd", function(e) {
Ti.API.info("scroll ended");
- Ti.API.info(e.contentOffset);
+ Ti.API.info(e.contentOffset.y);
+ Ti.API.info(ll_view.height);
});
return ll_view;