| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | 1 13211 13211 1 1 840 1 19635 1 | /*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
function Dependency() {
this.module = null;
this.Class = Dependency;
}
module.exports = Dependency;
Dependency.prototype.isEqualResource = function(other) {
return false;
};
Dependency.prototype.updateHash = function(hash) {
hash.update((this.module && this.module.id) + "");
};
Dependency.prototype.disconnect = function() {
this.module = null;
}; |