master
Aaron Heckmann 12 years ago
parent d3c5813b7d
commit 84069c9418
  1. 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) {

Loading…
Cancel
Save