Skip to content

Commit

Permalink
don't want to use "new" every now and then
Browse files Browse the repository at this point in the history
  • Loading branch information
Gozala committed Jan 31, 2010
1 parent 37dcea5 commit a3c48ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/jsdocs/frame/Link.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ var plugins = require("jsdocs/plugin-manager");
@constructor
*/
var Link = exports.Link = function () {
if (!(this instanceof Link)) return new Link();
this.alias = "";
this.src = "";
this.file = "";
Expand Down

0 comments on commit a3c48ac

Please sign in to comment.