0
1
Fork 0
hedera-web-mindshore/js/sql/holder.js

29 lines
350 B
JavaScript
Raw Normal View History

2016-09-26 09:28:47 +00:00
var Object = require ('./object');
/**
* A holder for another object.
2016-12-20 09:32:17 +00:00
*/
2016-09-26 09:28:47 +00:00
module.exports = new Class
({
2016-09-26 09:28:47 +00:00
Extends: Object
,Properties:
{
id:
{
type: String
,value: null
}
}
,render: function (batch)
{
var object;
if (batch && (object = batch.get (this.id)))
return object.render (batch);
return '#'+ this.id;
}
});