Permalink
Browse files

docs;

  • Loading branch information...
1 parent d3c5813 commit 84069c9418f687f83d0a5369a68a774465db708f @aheckmann committed Dec 7, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 index.js
View
7 index.js
@@ -82,6 +82,13 @@ for (var method in EventEmitter.prototype) {
gm.prototype[method] = EventEmitter.prototype[method];
}
+/**
+ * Subclasses the gm constructor with custom options.
+ *
+ * @param {options} options
+ * @return {gm} the subclasses gm constructor
+ */
+
var parent = gm;
gm.subClass = function subClass (options) {
function gm (source, height, color) {

0 comments on commit 84069c9

Please sign in to comment.