aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rhbzpage.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rhbzpage.js')
-rw-r--r--lib/rhbzpage.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/rhbzpage.js b/lib/rhbzpage.js
index 70186c9..da3bf92 100644
--- a/lib/rhbzpage.js
+++ b/lib/rhbzpage.js
@@ -4,12 +4,13 @@
// http://www.opensource.org/licenses/mit-license.php
"use strict";
var util = require("util");
+var apiUtils = require("api-utils");
var BZPage = require("bzpage").BZPage;
// ====================================================================================
// RHBugzillaPage object
-var RHBugzillaPage = exports.RHBugzillaPage = function RHBugzillaPage(doc, config) {
+var RHBugzillaPage = function RHBugzillaPage(doc, config) {
// inheritance ... call superobject's constructor
BZPage.call(this, doc, config);
@@ -30,3 +31,5 @@ var RHBugzillaPage = exports.RHBugzillaPage = function RHBugzillaPage(doc, confi
RHBugzillaPage.prototype = util.heir(BZPage.prototype);
RHBugzillaPage.prototype.constructor = RHBugzillaPage;
+
+exports.RHBugzillaPage = apiUtils.publicConstructor(RHBugzillaPage); \ No newline at end of file