Skip to content

Instantly share code, notes, and snippets.

View hoorayimhelping's full-sized avatar

Bucky Schwarz hoorayimhelping

View GitHub Profile
diff --git a/gulpfile.js b/gulpfile.js
index 07dc605..84d0253 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -13,7 +13,9 @@ var react = require('gulp-react');
var paths = {
'js_source': 'js/graph/',
'js_test': 'js/test/',
- 'js_dist': 'dist/'
+ 'js_dist': 'js/',
diff --git a/index.html b/index.html
index d9c7175..6f81718 100644
--- a/index.html
+++ b/index.html
@@ -1,10 +1,12 @@
<!DOCTYPE html>
<html>
<head>
-<title>Delta-V Maps</title>
+ <link rel="stylesheet" media="screen" type="text/css" href="styles/main.css">
diff --git a/index.html b/index.html
index d9c7175..6f81718 100644
--- a/index.html
+++ b/index.html
@@ -1,10 +1,12 @@
<!DOCTYPE html>
<html>
<head>
-<title>Delta-V Maps</title>
+ <link rel="stylesheet" media="screen" type="text/css" href="styles/main.css">
diff --git a/gulpfile.js b/gulpfile.js
index 84d0253..8dcc89b 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -60,6 +60,6 @@ gulp.task('build', function() {
.pipe(gulp.dest(paths.js_dist));
});
-gulp.task('default', ['env-dev', 'lint', 'test', 'build']);
-gulp.task('production', ['env-prod', 'lint', 'test', 'build']);
diff --git a/js/app.js b/js/app.js
index a72bcb0..3eeecc9 100644
--- a/js/app.js
+++ b/js/app.js
@@ -1,5 +1,64 @@
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
+var Renderer = function(context) {
+ this.context = context;
+};
+
diff --git a/js/maps/solar_system.js b/js/maps/solar_system.js
index ffed717..4f9e231 100644
--- a/js/maps/solar_system.js
+++ b/js/maps/solar_system.js
@@ -15,6 +15,7 @@ var SolarSystem = function() {
geostationary: new Node('Geostationary Orbit'),
moon_transfer: new Node('Moon Transfer'),
low_moon_orbit: new Node('Low Moon Orbit'),
+ moon: new Node('Moon'),
earth_transfer: new Node('Earth Transfer'),
diff --git a/index.html b/index.html
index ff3ee1c..9195573 100644
--- a/index.html
+++ b/index.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html>
+k<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" media="screen" type="text/css" href="styles/main.css">
diff --git a/index.html b/index.html
index ff3ee1c..e289f9f 100644
--- a/index.html
+++ b/index.html
@@ -5,7 +5,9 @@
<title>Delta-V Maps</title>
</head>
<body>
- <canvas id="canvas"></canvas>
+ <div class="container" id="container">
diff --git a/index.html b/index.html
index ff3ee1c..e289f9f 100644
--- a/index.html
+++ b/index.html
@@ -5,7 +5,9 @@
<title>Delta-V Maps</title>
</head>
<body>
- <canvas id="canvas"></canvas>
+ <div class="container" id="container">
diff --git a/gulpfile.js b/gulpfile.js
index 8dcc89b..282eb4b 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -32,7 +32,7 @@ gulp.task('lint', function() {
paths.js_test + '*.js',
'gulpfile.js'
])
- .pipe(jshint())
+ .pipe(jshint({ esnext: true }))