Skip to content

Commit 5cee9f5

Browse files
author
Carlos Rodriguez
committed
add attach method
1 parent 2de0d9b commit 5cee9f5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

index.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,9 @@ Spec.prototype.toString = function() {
3535
return this.id;
3636
};
3737

38-
module.exports = Spec;
38+
module.exports = exports = Spec;
39+
40+
exports.attach = function (options) {
41+
var amino = this;
42+
amino.Spec = Spec;
43+
};

0 commit comments

Comments
 (0)