mirror of
https://github.com/zhigang1992/deployd.git
synced 2026-06-10 06:50:11 +08:00
Fixed API page bug
This commit is contained in:
@@ -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()}
|
||||
|
||||
Reference in New Issue
Block a user