Skip to content

Commit 1e55cda

Browse files
committed
declare variables before use them
1 parent ca2e094 commit 1e55cda

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/stomp-exceptions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
QueueEmpty = exports.QueueEmpty = function() {
1+
var QueueEmpty = exports.QueueEmpty = function() {
22
this.name = "QueueEmpty";
33
this.message = "Queue is Empty";
44
};

lib/stomp-utils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var exceptions = require('./stomp-exceptions');
22
var sys = require('util');
33

4-
StompLogging = exports.StompLogging = function(should_debug) {
4+
var StompLogging = exports.StompLogging = function(should_debug) {
55
this.should_debug = should_debug;
66
};
77

@@ -26,7 +26,7 @@ StompLogging.prototype.die = function(message) {
2626
this.error(message, true);
2727
};
2828

29-
StompUtils = exports.StompUtils = function() {
29+
var StompUtils = exports.StompUtils = function() {
3030
this.available_utils = [];
3131
};
3232

0 commit comments

Comments
 (0)