assetgraph
Version:
An auto discovery dependency graph based optimization framework for web pages and applications
26 lines (19 loc) • 463 B
JavaScript
const Relation = require('./Relation');
class JsonUrl extends Relation {
get href() {
return this.hrefScope[this.hrefProperty];
}
set href(href) {
this.hrefScope[this.hrefProperty] = href;
}
inline() {
throw new Error('JsonUrl.inline(): Not supported.');
}
attach() {
throw new Error('JsonUrl.attach(): Not supported.');
}
detach() {
throw new Error('JsonUrl.detach(): Not supported.');
}
}
module.exports = JsonUrl;