Some modularity; general cleanup of codebase
parent
4239c1ea33
commit
7bab9be492
@ -1,6 +1,5 @@
|
||||
private-key.pem
|
||||
server-cert.pem
|
||||
MarketplaceChat.app.zip
|
||||
MarketplaceChat.app/
|
||||
scratch/
|
||||
_site/
|
||||
node_modules/
|
||||
|
@ -0,0 +1 @@
|
||||
Directory for build products, checked in to the repo for ease-of-use.
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "js-marketplace",
|
||||
"version": "0.0.0",
|
||||
"description": "Network Calculus in the browser",
|
||||
"homepage": "https://github.com/tonyg/js-marketplace",
|
||||
"main": "src/main.js",
|
||||
"scripts": {
|
||||
"clean": "rm -f dist/*",
|
||||
"build-debug": "browserify src/main.js -d -s Minimart -o dist/minimart.js",
|
||||
"build-min": "browserify src/main.js -s Minimart -o dist/_minimart.js && uglifyjs dist/_minimart.js -o dist/minimart.min.js && rm dist/_minimart.js",
|
||||
"build": "npm run build-debug && npm run build-min",
|
||||
"watch": "watchify src/main.js -d -s Minimart -o dist/minimart.js",
|
||||
"prepublish": "npm run build"
|
||||
},
|
||||
"author": "Tony Garnock-Jones <tonyg@ccs.neu.edu>",
|
||||
"devDependencies": {
|
||||
"watchify": "^0.6.1",
|
||||
"uglify-js": "^2.4.12",
|
||||
"browserify": "^3.30.4",
|
||||
"mocha": "^1.17.1"
|
||||
}
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
.routing-table li { list-style-type: none; }
|
||||
|
||||
.routing-table .sub .pattern { background-color: lightblue; }
|
||||
.routing-table .sub .level { background-color: lightblue; }
|
||||
.routing-table .pub .pattern { background-color: lightgreen; }
|
||||
.routing-table .pub .level { background-color: lightgreen; }
|
||||
|
||||
.routing-table .route {
|
||||
display: inline-block;
|
||||
height: 2em;
|
||||
}
|
||||
|
||||
.routing-table .route .level { font-style: italic; line-height: 1em; padding: 0 0.5em; }
|
||||
.routing-table .route .polarity { display: none; }
|
||||
.routing-table .route .pattern { padding-right: 0.5em; }
|
||||
|
||||
.routing-table .route:before {
|
||||
content: " ";
|
||||
float: left;
|
||||
}
|
||||
|
||||
.routing-table .pub:before {
|
||||
border-right: 0.6em solid lightgreen;
|
||||
border-top: 0.75em solid transparent;
|
||||
border-bottom: 0.75em solid transparent;
|
||||
}
|
||||
|
||||
.routing-table .sub:before {
|
||||
border-left: 0.6em solid transparent;
|
||||
border-top: 0.75em solid lightblue;
|
||||
border-bottom: 0.75em solid lightblue;
|
||||
}
|
||||
|
||||
.routing-table .route:after {
|
||||
content: " ";
|
||||
float: right;
|
||||
}
|
||||
|
||||
.routing-table .pub:after {
|
||||
border-left: 0.6em solid lightgreen;
|
||||
border-top: 0.75em solid transparent;
|
||||
border-bottom: 0.75em solid transparent;
|
||||
}
|
||||
|
||||
.routing-table .sub:after {
|
||||
border-right: 0.6em solid transparent;
|
||||
border-top: 0.75em solid lightblue;
|
||||
border-bottom: 0.75em solid lightblue;
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
module.exports = require("./minimart.js");
|
||||
|
||||
module.exports.DOM = require("./dom-driver.js");
|
||||
module.exports.JQuery = require("./jquery-driver.js");
|
||||
module.exports.RoutingTableWidget = require("./routing-table-widget.js");
|
||||
module.exports.WebSocket = require("./websocket-driver.js");
|
||||
|
||||
module.exports.Spy = require("./spy.js").Spy;
|
||||
module.exports.WakeDetector = require("./wake-detector.js").WakeDetector;
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue