Fixed API page bug

This commit is contained in:
DallonF
2012-07-30 11:21:59 -07:00
parent 3876b64dee
commit 05b1cbf3b8

View File

@@ -13,7 +13,7 @@ dpd('__resources').get(Context.resourceId, function(res, err) {
}
, getObj: function() {
var props = res.properties
, keys = _.keys(props)
, keys = _.keys(props || {})
, obj = {}
, key
, vals = {string: 'foobar', number: 123, boolean: true, date: new Date()}