related-selector
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -10,5 +10,4 @@ !function() { | ||
var RelatedSelector = new Class({ | ||
module.exports = new Class({ | ||
name: null | ||
@@ -49,2 +48,19 @@ | ||
}); | ||
// prepare implementing class | ||
RelatedSelector.prepare = function(extensionConstructor, name) { | ||
// expose type on constructor | ||
extensionConstructor.isRelatedSelector = function() { | ||
return true; | ||
}; | ||
// identify against the orm | ||
extensionConstructor.name = name; | ||
} | ||
module.exports = RelatedSelector; | ||
}(); |
{ | ||
"name" : "related-selector" | ||
, "description" : "Basic class used for implementing related-orm selector extensions" | ||
, "version" : "0.2.0" | ||
, "version" : "0.2.1" | ||
, "homepage" : "https://github.com/eventEmitter/related-selector" | ||
@@ -6,0 +6,0 @@ , "author" : "Michael van der Weg <michael@joinbox.com> (http://joinbox.com/)" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5276
54