Permalink
Browse files

tiny bugfix and manifest cleanup

  • Loading branch information...
quartzjer committed Oct 1, 2011
1 parent 467691e commit 8ec4c96ab03b876c486d5a59bad2c54538694ccb
Showing with 12 additions and 10 deletions.
  1. +5 −4 Apps/4Me/manifest.app
  2. +2 −2 Apps/LongCal/app.js
  3. +5 −4 Apps/Reminisce/manifest.app
View
@@ -1,6 +1,7 @@
{
- "title":"4Me",
- "desc":"Show a map of my foursquare checkins in a given area",
- "status":"unstable",
- "run":"node app.js"
+ "title":"4Me",
+ "desc":"Show a map of my foursquare checkins in a given area",
+ "status":"unstable",
+ "handle":"4me",
+ "run":"node app.js"
}
View
@@ -46,7 +46,7 @@ Date.prototype.yyyymmdd = function() {
function loadPlaces(cb){
request.get({uri:locker.lockerBase+"/Me/places/getPlaces?me=true",json:true},function(err,res,body){
- if(err || !body) return cb();
+ if(err || !body || body.length == 0) return cb();
var places = [];
body.forEach(function(p){places.push({at:p.at, c:long2num(p.lng)})});
places = places.sort(function(a,b){return (a.at - b.at)});
@@ -85,7 +85,7 @@ stdin.on('data', function (chunk) {
app.listen(processInfo.port,function() {
var returnedInfo = {};
console.log(JSON.stringify(returnedInfo));
- });
+ });
});
});
@@ -1,6 +1,7 @@
{
- "title":"Reminisce",
- "desc":"Get a daily email highlighting something special from your past.",
- "status":"unstable",
- "run":"node app.js"
+ "title":"Reminisce",
+ "desc":"Get a daily email highlighting something special from your past.",
+ "status":"unstable",
+ "handle":"reminisce",
+ "run":"node app.js"
}

0 comments on commit 8ec4c96

Please sign in to comment.