Skip to content

Commit

Permalink
some jslint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mrennie committed Oct 22, 2013
1 parent ebd60c1 commit ab3df83
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions firefox/chrome/content/packet.js
Expand Up @@ -17,7 +17,7 @@ var Packet = {
* @description Converts the given object to a JSON {@link String}.
* @function
* @public
* @memberOf Packet
* @memberof Packet
* @param obj the object to convert to a JSON {@link String}
* @type String
* @returns the given object as a JSON {@link String}
Expand All @@ -31,7 +31,7 @@ var Packet = {
* @description Parses the {@link Object} from the given JSON {@link String}.
* @function
* @public
* @memberOf Packet
* @memberof Packet
* @param str the JSON {@link String} to parse
* @type Object
* @returns the {@link Object} value from the JSON {@link String}
Expand Down
6 changes: 3 additions & 3 deletions firefox/chrome/content/socket-transport.js
Expand Up @@ -8,7 +8,7 @@
* @memberOf CrossfireSocketTransport
* @type String
*/
const CROSSFIRE_HANDSHAKE = "CrossfireHandshake";
var CROSSFIRE_HANDSHAKE = "CrossfireHandshake";
/**
* @name HANDSHAKE_RETRY
* @description The default time-out in milliseconds to re-try a handshake
Expand All @@ -17,7 +17,7 @@ const CROSSFIRE_HANDSHAKE = "CrossfireHandshake";
* @memberOf CrossfireSocketTransport
* @type Integer
*/
const HANDSHAKE_RETRY = 1007;
var HANDSHAKE_RETRY = 1007;

/**
* @ignore
Expand All @@ -31,7 +31,7 @@ try {
FBTrace = {};
}

const PrefService = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService);
var PrefService = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService);

/**
* @name CROSSFIRE_STATUS
Expand Down

0 comments on commit ab3df83

Please sign in to comment.