Skip to content

Commit e057e6c

Browse files
committed
Minor whitespace and require syntax changes
1 parent 0531abb commit e057e6c

9 files changed

Lines changed: 21 additions & 21 deletions

File tree

‎src/Const.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
exports.M_per_LY = 9.4605284e+15; // meters per lightyear
2-
exports.M_per_AU = 149597870700; // meters per AU
2+
exports.M_per_AU = 149597870700; // meters per AU

‎src/EVEoj.js‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
exports.Const = require("./Const.js");
2-
exports.Utils = require("./Utils.js");
3-
exports.SDD = require("./SDD.js");
4-
exports.map = require("./map.js");
1+
exports.Const = require("./Const");
2+
exports.Utils = require("./Utils");
3+
exports.SDD = require("./SDD");
4+
exports.map = require("./map");
55
if (exports.Utils.isBrowser) {
6-
exports.IGB = require("./IGB.js");
6+
exports.IGB = require("./IGB");
77
}
88

99
exports.V_MAJOR = 0;
1010
exports.V_MINOR = 2;
1111
exports.V_PATCH = 0;
12-
exports.VERSION = exports.V_MAJOR + "." + exports.V_MINOR + "." + exports.V_PATCH;
12+
exports.VERSION = exports.V_MAJOR + "." + exports.V_MINOR + "." + exports.V_PATCH;

‎src/IGB.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ function IGBClick(ev) {
4141

4242
$(function() {
4343
$("a[href^='eve:']").click(IGBClick);
44-
});
44+
});

‎src/Promise.js‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
var isBrowser = typeof(window) !== "undefined";
33
var req_browser_ignore = require;
44
if (isBrowser) {
5-
// in browser, BlueBird embedded already by uglify
6-
//console.log("in browser require utils");
7-
//console.log("Promise: " + Promise);
5+
// in browser, BlueBird embedded already by uglify
6+
//console.log("in browser require utils");
7+
//console.log("Promise: " + Promise);
88
module.exports = Promise;
9-
//module.exports = require("bluebird");
9+
//module.exports = require("bluebird");
1010
} else {
1111
// bluebird required in a way that browserify will ignore (since using custom built for standalone)
1212
module.exports = req_browser_ignore("bluebird");

‎src/SDD.Source.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ P.GetTables = function() {
3434
P.GetTable = function(tbl) {
3535
if (!tbl || !this.tables.hasOwnProperty(tbl)) return null;
3636
return this.tables[tbl];
37-
};
37+
};

‎src/SDD.Source.json.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ if (Utils.isBrowser) {
77
} else {
88
// nodeFS based JSON loader; required in a way that browserify will ignore
99
module.exports = req_browser_ignore("./SDD.Source.json_node.js");
10-
}
10+
}

‎src/SDD.js‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// var Utils = require('./Utils');
22

3-
exports.Source = require("./SDD.Source.js");
4-
exports.Source.json = require("./SDD.Source.json.js");
5-
exports.Table = require("./SDD.Table.js");
3+
exports.Source = require("./SDD.Source");
4+
exports.Source.json = require("./SDD.Source.json");
5+
exports.Table = require("./SDD.Table");
66

77
// create a new data source of the type specified with the config provided;
88
// EVEoj.data.Source.<type> handles the implementation details
99
exports.Create = function(type, config) {
1010
if (typeof exports.Source[type] === "undefined" || typeof exports.Source[type].Create !== "function") return null;
1111
return exports.Source[type].Create(config);
12-
};
12+
};

‎src/map.System.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var extend = require("node.extend");
2-
var Utils = require("./Utils.js");
2+
var Utils = require("./Utils");
33

44
var P = exports.P = {}; // public methods
55

‎src/map.SystemIter.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var extend = require("node.extend");
2-
var Utils = require("./Utils.js");
2+
var Utils = require("./Utils");
33

44
var P = exports.P = {}; // public methods
55
exports.D = {
@@ -34,4 +34,4 @@ P.Next = function() {
3434
return this.map.GetSystem({
3535
id: this.keyset[this.curidx++]
3636
});
37-
};
37+
};

0 commit comments

Comments
 (0)