Created
June 6, 2011 01:52
-
-
Save indexzero/1009632 to your computer and use it in GitHub Desktop.
A back of the napkin fix for haibu issue #18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Drone.prototype.list = function () { | |
var self = this, | |
appList = {}; | |
Object.keys(this.apps).forEach(function (key) { | |
appList[key] = { | |
app: self.apps[key].app, | |
drones: self.apps[key].drones | |
} | |
}); | |
return appList; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment