File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11exports . 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
Original file line number Diff line number Diff line change 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" ) ;
55if ( exports . Utils . isBrowser ) {
6- exports . IGB = require ( "./IGB.js " ) ;
6+ exports . IGB = require ( "./IGB" ) ;
77}
88
99exports . V_MAJOR = 0 ;
1010exports . V_MINOR = 2 ;
1111exports . 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 ;
Original file line number Diff line number Diff line change @@ -41,4 +41,4 @@ function IGBClick(ev) {
4141
4242$ ( function ( ) {
4343 $ ( "a[href^='eve:']" ) . click ( IGBClick ) ;
44- } ) ;
44+ } ) ;
Original file line number Diff line number Diff line change 22var isBrowser = typeof ( window ) !== "undefined" ;
33var req_browser_ignore = require ;
44if ( 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" ) ;
Original file line number Diff line number Diff line change @@ -34,4 +34,4 @@ P.GetTables = function() {
3434P . GetTable = function ( tbl ) {
3535 if ( ! tbl || ! this . tables . hasOwnProperty ( tbl ) ) return null ;
3636 return this . tables [ tbl ] ;
37- } ;
37+ } ;
Original file line number Diff line number Diff 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+ }
Original file line number Diff line number Diff line change 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
99exports . 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+ } ;
Original file line number Diff line number Diff line change 11var extend = require ( "node.extend" ) ;
2- var Utils = require ( "./Utils.js " ) ;
2+ var Utils = require ( "./Utils" ) ;
33
44var P = exports . P = { } ; // public methods
55
Original file line number Diff line number Diff line change 11var extend = require ( "node.extend" ) ;
2- var Utils = require ( "./Utils.js " ) ;
2+ var Utils = require ( "./Utils" ) ;
33
44var P = exports . P = { } ; // public methods
55exports . D = {
@@ -34,4 +34,4 @@ P.Next = function() {
3434 return this . map . GetSystem ( {
3535 id : this . keyset [ this . curidx ++ ]
3636 } ) ;
37- } ;
37+ } ;
You can’t perform that action at this time.
0 commit comments