-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from openworm/development
Release 1.0.0
- Loading branch information
Showing
497 changed files
with
98,793 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
**/*min.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
/** | ||
|-------------------------------------------------- | ||
| sudo npm install -g eslint babel-eslint | ||
|-------------------------------------------------- | ||
*/ | ||
module.exports = { | ||
extends: [ | ||
"eslint:recommended", | ||
], | ||
env: { | ||
browser: true, | ||
commonjs: true, | ||
es6: true, | ||
node: true, | ||
jquery: true, | ||
amd: true, | ||
mocha: true, | ||
jasmine: true, | ||
phantomjs: true, | ||
worker: true, | ||
jest: true | ||
}, | ||
parser: "babel-eslint", | ||
parserOptions: { | ||
"sourceType": "module", // import export syntax | ||
"ecmaVersion": 2017 // async await syntax | ||
}, | ||
rules: { // 0: allow, 1: warning, 2: error | ||
"no-tabs": 2, // no tabs in code | ||
"no-empty": 0, | ||
'no-console': 0, | ||
"curly": 2, | ||
"no-global-assign": 0, // allow global variables to be modified | ||
"no-constant-condition": 0, // allow: while(true) { ... } | ||
"no-control-regex": 0, // allow regex | ||
"no-redeclare": 0, // allow redeclare a variable | ||
"no-inner-declarations": 0, // allow define functions inside functions | ||
"indent": ["error", 2, { | ||
"ObjectExpression": "first", | ||
"ArrayExpression": "first" | ||
}], // 2 spaces for indentation and consistent alignment | ||
"arrow-spacing": 2, | ||
"no-unused-vars": 0, | ||
"keyword-spacing": 2, | ||
"no-useless-escape": 0, | ||
"brace-style": 2, // enforce open bracket in same line | ||
"multiline-comment-style": [2, "starred-block"], // enforce commented block style | ||
"object-curly-newline": [2, { "multiline": true }], // enforce obj items identation | ||
"operator-linebreak": [2, "before"], // break operator to new line | ||
"space-infix-ops": 2, | ||
"no-multi-spaces": 2, | ||
"no-unneeded-ternary": 2, | ||
"no-multiple-empty-lines": 2, | ||
"spaced-comment": [2, "always"], | ||
"arrow-parens": [2, "as-needed"], | ||
"arrow-body-style": [2, "as-needed"], | ||
"object-curly-spacing": [2, "always"], | ||
"template-curly-spacing": [2, "never"], | ||
"space-before-function-paren": [1, "always"] | ||
}, | ||
globals: { | ||
"G": true, | ||
"root": true, | ||
"casper": true, | ||
"message": true, | ||
"endpoint": true, | ||
"GEPPETTO": true, | ||
"gepetto-client": true, | ||
"Project": true, | ||
"Instances": true, | ||
"IPython": true, | ||
"GEPPETTO_CONFIGURATION": true, | ||
"MozWebSocket": true, | ||
"panelComponent": true, | ||
"Detector": true, | ||
"THREE": true, | ||
"VARS": true, | ||
"Stats": true, | ||
"geometry": true, | ||
"aabbMin": true, | ||
"aabbMax": true, | ||
"bb": true, | ||
"ClipboardModal": true, | ||
"Store": true, | ||
"olark": true, | ||
"google": true, | ||
"path": true, | ||
"CodeMirror": true, | ||
"Connectivity": true, | ||
"π": true, | ||
"τ": true, | ||
"halfπ": true, | ||
"dr": true, | ||
"Model": true, | ||
"Plot1": true, | ||
"PIXI": true, | ||
"stackViewerRequest": true, | ||
"_": true, | ||
"labelsInTV": true, | ||
"Backbone": true, | ||
"registeredEvents": true, | ||
"Handlebars": true, | ||
"ActiveXObject": true, | ||
"jstestdriver": true, | ||
"TestCase": true, | ||
"EMBEDDED": true, | ||
"EMBEDDERURL": true, | ||
"handleRequest": true, | ||
"_gaq": true, | ||
"Canvas1": true, | ||
"clientX": true, | ||
"clientY": true, | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Number of days of inactivity before an issue becomes stale | ||
daysUntilStale: 60 | ||
# Number of days of inactivity before a stale issue is closed | ||
daysUntilClose: 7 | ||
# Issues with these labels will never be considered stale | ||
exemptLabels: | ||
- pinned | ||
- security | ||
# Label to use when marking an issue as stale | ||
staleLabel: wontfix | ||
# Comment to post when marking an issue as stale. Set to `false` to disable | ||
markComment: > | ||
This issue has been automatically marked as stale because it has not had | ||
recent activity. It will be closed if no further activity occurs. Thank you | ||
for your contributions. | ||
# Comment to post when closing a stale issue. Set to `false` to disable | ||
closeComment: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
*.DS_Store | ||
node_modules/ | ||
node/ | ||
|
||
# Editor byproducts | ||
.idea/ | ||
.vscode/ | ||
*.swp | ||
/target | ||
/bin | ||
.idea/ | ||
*.iml | ||
*~ | ||
.imdone/ | ||
/.externalToolBuilders/ | ||
|
||
#WormSim specific stuff | ||
*.css-e | ||
*.less-e | ||
js/components/dev/customrenderer/ | ||
js/components/dev/wormsimbuttonbar/ | ||
js/components/dev/wormsimlogo/ | ||
js/components/dev/wormsimsimulationcontrols/ | ||
js/components/dev/wormsimtutorialhandler/ | ||
js/components/wormsim.* | ||
|
||
#other local directories that may get installed | ||
org.geppetto.core/ | ||
org.geppetto.model/ | ||
org.geppetto.simulation/ | ||
/libjhdf5.jnilib | ||
|
||
# redis cache files | ||
*.rdb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- [ ] Add coverage for whatever new functionality, to a JUnit test if it's backend, to a Casper Test if it's frontend | ||
- [ ] Make sure both push and pr travis builds are passing before asking for a review |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[![Build Status](https://travis-ci.org/openworm/org.geppetto.frontend.png?branch=master)](https://travis-ci.org/openworm/org.geppetto.frontend) | ||
|
||
<p align="center"> | ||
<img src="https://github.com/tarelli/bucket/blob/master/geppetto%20logo.png?raw=true" alt="Geppetto logo"/> | ||
</p> | ||
|
||
# Geppetto Client | ||
|
||
This is the client library of Geppetto which includes all the frontend components and widgets, the WebSocket API implementation to talk to the backend and all the infrastructure to manage the Geppetto Model in Javascript. | ||
|
||
For information about how this fits into [Geppetto](http://www.geppetto.org/) refer to the umbrella project [org.geppetto](https://github.com/openworm/org.geppetto) on GitHub. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/1.1.bundle.js | ||
/2.2.bundle.js | ||
/3.3.bundle.js | ||
/admin.bundle.js | ||
/main.bundle.js | ||
/tests.bundle.js |
Oops, something went wrong.