Skip to content

Commit

Permalink
remove deprecated gm.new()
Browse files Browse the repository at this point in the history
it caused problems with node version older than 0.1.103
  • Loading branch information
aheckmann committed Sep 21, 2010
1 parent c1d4b3e commit 5d7382b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,3 @@ require("./lib/drawing")(gm.prototype)
require("./lib/convenience")(gm.prototype)
require("./lib/command")(gm.prototype)

// todo: remove in 0.4
gm.new = function(w, h, c){
console.warn("gm.new has been removed. Use gm(width, height [, color]) from now on.")
return gm(w, h, c)
}

0 comments on commit 5d7382b

Please sign in to comment.