26 lines
488 B
JavaScript
26 lines
488 B
JavaScript
// Structure types
|
|
|
|
(function(baselib) {
|
|
var exports = {};
|
|
baselib.inspectors = exports;
|
|
|
|
|
|
var Inspector = function() {
|
|
};
|
|
var DEFAULT_INSPECTOR = new Inspector();
|
|
|
|
Inspector.prototype.toString = function() {
|
|
return "#<inspector>";
|
|
};
|
|
|
|
var isInspector = baselib.makeClassPredicate(Inspector);
|
|
|
|
|
|
|
|
exports.Inspector = Inspector;
|
|
exports.DEFAULT_INSPECTOR = DEFAULT_INSPECTOR;
|
|
|
|
exports.isInspector = isInspector;
|
|
|
|
|
|
})(this['plt'].baselib); |