Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
  • Loading branch information
Offirmo committed Mar 29, 2016
1 parent 4f1458a commit 8435465
Show file tree
Hide file tree
Showing 60 changed files with 409 additions and 262 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
jspm_packages
config.js
tosort
transpiled
build
48 changes: 6 additions & 42 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
# JS class 2016 - episode 2
# JS class 2016 - episode 3

[![stable](http://badges.github.io/stability-badges/dist/stable.svg)](http://github.com/badges/stability-badges)
[![Build Status](https://travis-ci.org/EpitaJS/js-class-2016-episode-2.svg?branch=master)](https://travis-ci.org/EpitaJS/js-class-2016-episode-2)
[![Build Status](https://travis-ci.org/EpitaJS/js-class-2016-episode-3.svg?branch=master)](https://travis-ci.org/EpitaJS/js-class-2016-episode-3)

## Introduction
This is a JS class, aimed at high-level students.

* language katas using mocha/chai/sinon
* Note : I found a similar idea, but for assessment https://github.com/rmurphey/js-assessment
* simple tech demos
* (TODO more)

Program :
* language : ES6 but mainly features available in node https://nodejs.org/en/docs/es6/
* fetch API

* ES6
* node.js
* AnglarJS

Expand All @@ -22,38 +17,7 @@ Program :
Node 5+ needed

```bash
nvm install 5
nvm install $(cat .nvmrc)
npm install
npm start <-- Linux
.\node_modules\.bin\puer.cmd <-- Windows
npm start dev
```


## TODO
* [ ] node
* [ ] Build an app skeleton for project


## Credits
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript
* http://www.oreilly.com/web-platform/free/files/modern-javascript.pdf
* favicons generated with http://realfavicongenerator.net/


## hat tips for nice libs
* http://js.cytoscape.org/
* https://github.com/kristw/d3kit-timeline


## Notes
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript
* https://github.com/braydie/HowToBeAProgrammer
* http://caniuse.com
* https://nodejs.org/en/docs/es6/
* https://github.com/DrkSephy/es6-cheatsheet

HTML APIs
* https://dev.windows.com/en-us/microsoft-edge/platform/status/?filter=f2f0000bf
* https://developers.google.com/web/updates/
* http://html5index.org/
* http://www.w3schools.com/html/html5_geolocation.asp
57 changes: 30 additions & 27 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ System.config({
},

map: {
"angular": "github:angular/[email protected].2",
"angular-animate": "github:angular/[email protected].2",
"angular-aria": "github:angular/[email protected].2",
"angular": "github:angular/[email protected].3",
"angular-animate": "github:angular/[email protected].3",
"angular-aria": "github:angular/[email protected].3",
"angular-material": "github:angular/[email protected]",
"angular-messages": "github:angular/[email protected].2",
"angular-messages": "github:angular/[email protected].3",
"angular-ui-router": "github:angular-ui/[email protected]",
"async": "npm:[email protected]",
"babel": "npm:[email protected]",
Expand All @@ -41,12 +41,13 @@ System.config({
"handsontable/handsontable": "github:handsontable/[email protected]",
"jquery": "npm:[email protected]",
"json": "github:systemjs/[email protected]",
"lodash": "npm:lodash@4.6.1",
"lodash": "npm:lodash@4.0.1",
"mocha": "npm:[email protected]",
"nodegram": "npm:[email protected]",
"sinon": "npm:[email protected]",
"sinon-chai": "npm:[email protected]",
"text": "github:systemjs/[email protected]",
"text": "github:systemjs/[email protected]",
"ui-router-extras": "npm:[email protected]",
"bower:[email protected]": {
"d3kit": "bower:[email protected]",
"labella": "bower:[email protected]"
Expand All @@ -55,21 +56,21 @@ System.config({
"d3": "bower:[email protected]"
},
"github:angular-ui/[email protected]": {
"angular": "github:angular/[email protected].2"
"angular": "github:angular/[email protected].3"
},
"github:angular/[email protected].2": {
"angular": "github:angular/[email protected].2"
"github:angular/[email protected].3": {
"angular": "github:angular/[email protected].3"
},
"github:angular/[email protected].2": {
"angular": "github:angular/[email protected].2"
"github:angular/[email protected].3": {
"angular": "github:angular/[email protected].3"
},
"github:angular/[email protected].2": {
"angular": "github:angular/[email protected].2"
"github:angular/[email protected].3": {
"angular": "github:angular/[email protected].3"
},
"github:angular/[email protected]": {
"angular": "github:angular/[email protected].2",
"angular-animate": "github:angular/[email protected].2",
"angular-aria": "github:angular/[email protected].2",
"angular": "github:angular/[email protected].3",
"angular-animate": "github:angular/[email protected].3",
"angular-aria": "github:angular/[email protected].3",
"css": "github:systemjs/[email protected]"
},
"github:jspm/[email protected]": {
Expand Down Expand Up @@ -155,7 +156,7 @@ System.config({
},
"npm:[email protected]": {
"assert": "github:jspm/[email protected]",
"bn.js": "npm:[email protected].0",
"bn.js": "npm:[email protected].1",
"buffer": "github:jspm/[email protected]",
"fs": "github:jspm/[email protected]",
"inherits": "npm:[email protected]",
Expand All @@ -171,7 +172,7 @@ System.config({
"npm:[email protected]": {
"process": "github:jspm/[email protected]"
},
"npm:[email protected].0": {
"npm:[email protected].1": {
"buffer": "github:jspm/[email protected]"
},
"npm:[email protected]": {
Expand Down Expand Up @@ -200,14 +201,14 @@ System.config({
"inherits": "npm:[email protected]"
},
"npm:[email protected]": {
"bn.js": "npm:[email protected].0",
"bn.js": "npm:[email protected].1",
"buffer": "github:jspm/[email protected]",
"constants": "github:jspm/[email protected]",
"crypto": "github:jspm/[email protected]",
"randombytes": "npm:[email protected]"
},
"npm:[email protected]": {
"bn.js": "npm:[email protected].0",
"bn.js": "npm:[email protected].1",
"browserify-rsa": "npm:[email protected]",
"buffer": "github:jspm/[email protected]",
"create-hash": "npm:[email protected]",
Expand Down Expand Up @@ -298,7 +299,7 @@ System.config({
"buffer": "github:jspm/[email protected]"
},
"npm:[email protected]": {
"bn.js": "npm:[email protected].0",
"bn.js": "npm:[email protected].1",
"buffer": "github:jspm/[email protected]",
"crypto": "github:jspm/[email protected]",
"elliptic": "npm:[email protected]"
Expand Down Expand Up @@ -357,15 +358,15 @@ System.config({
"minimalistic-assert": "npm:[email protected]"
},
"npm:[email protected]": {
"bn.js": "npm:[email protected].0",
"bn.js": "npm:[email protected].1",
"buffer": "github:jspm/[email protected]",
"crypto": "github:jspm/[email protected]",
"miller-rabin": "npm:[email protected]",
"randombytes": "npm:[email protected]",
"systemjs-json": "github:systemjs/[email protected]"
},
"npm:[email protected]": {
"bn.js": "npm:[email protected].0",
"bn.js": "npm:[email protected].1",
"brorand": "npm:[email protected]",
"hash.js": "npm:[email protected]",
"inherits": "npm:[email protected]",
Expand Down Expand Up @@ -417,12 +418,11 @@ System.config({
"npm:[email protected]": {
"util": "github:jspm/[email protected]"
},
"npm:[email protected]": {
"buffer": "github:jspm/[email protected]",
"npm:[email protected]": {
"process": "github:jspm/[email protected]"
},
"npm:[email protected]": {
"bn.js": "npm:[email protected].0",
"bn.js": "npm:[email protected].1",
"brorand": "npm:[email protected]"
},
"npm:[email protected]": {
Expand Down Expand Up @@ -481,7 +481,7 @@ System.config({
"assert": "github:jspm/[email protected]"
},
"npm:[email protected]": {
"bn.js": "npm:[email protected].0",
"bn.js": "npm:[email protected].1",
"browserify-rsa": "npm:[email protected]",
"buffer": "github:jspm/[email protected]",
"create-hash": "npm:[email protected]",
Expand Down Expand Up @@ -593,6 +593,9 @@ System.config({
"npm:[email protected]": {
"process": "npm:[email protected]"
},
"npm:[email protected]": {
"process": "github:jspm/[email protected]"
},
"npm:[email protected]": {
"assert": "github:jspm/[email protected]",
"punycode": "npm:[email protected]",
Expand Down
6 changes: 0 additions & 6 deletions nodemon.json

This file was deleted.

38 changes: 18 additions & 20 deletions package.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@
"helmet": "1.3.0",
"intl": "~1.1.0",
"intl-locales-supported": "~1.0.0",
"locale": "~0.0",
"lodash": "~4.6.1",
"moment": "~2.12.0",
"morgan": "1.7.0",
Expand All @@ -72,13 +71,11 @@
"prettyjson": "~1.1.3",
"primus": "~5.0.1",
"response-time": "2.3.1",
"rx": "~4.1.0",
"serve-favicon": "~2.3.0",
"serve-index": "~1.7.3",
"simplyconfig": "~0.4.0",
"socket.io": "~1.4.5",
"source-map-support": "0.4.0",
"winston": "~2.2.0"
"source-map-support": "~0.4.0",
"winston": "~2.2.0",
"ws": "~1.0.1"
},
"devDependencies": {
"babel-cli": "^6.6.5",
Expand Down Expand Up @@ -106,22 +103,23 @@
},
"jspm": {
"dependencies": {
"angular": "github:angular/bower-angular@^1.5.2",
"angular-animate": "github:angular/bower-angular-animate@^1.5.2",
"angular-aria": "github:angular/bower-angular-aria@^1.5.2",
"angular-material": "github:angular/bower-material@^1.0.6",
"angular-messages": "github:angular/bower-angular-messages@^1.5.2",
"angular-ui-router": "github:angular-ui/ui-router@^0.2.18",
"async": "npm:async@^1.5.2",
"bootstrap": "github:twbs/bootstrap@^3.3.6",
"css": "github:systemjs/plugin-css@^0.1.20",
"angular": "github:angular/bower-angular@~1.5.2",
"angular-animate": "github:angular/bower-angular-animate@~1.5.2",
"angular-aria": "github:angular/bower-angular-aria@~1.5.2",
"angular-material": "github:angular/bower-material@~1.0.6",
"angular-messages": "github:angular/bower-angular-messages@~1.5.2",
"angular-ui-router": "github:angular-ui/ui-router@~0.2.18",
"async": "npm:async@~1.5.2",
"bootstrap": "github:twbs/bootstrap@~3.3.6",
"css": "github:systemjs/plugin-css@~0.1.20",
"d3": "bower:d3@~3.4.11",
"d3kit": "bower:[email protected]",
"handsontable/handsontable": "github:handsontable/handsontable@^0.23.0",
"jquery": "npm:jquery@^2.2.0",
"json": "github:systemjs/plugin-json@^0.1.0",
"lodash": "npm:lodash@^4.0.0",
"text": "github:systemjs/plugin-text@^0.0.4"
"handsontable/handsontable": "github:handsontable/handsontable@~0.23.0",
"jquery": "npm:jquery@~2.2.0",
"json": "github:systemjs/plugin-json@~0.1.0",
"lodash": "npm:lodash@~4.0.0",
"text": "github:systemjs/plugin-text@~0.0.4",
"ui-router-extras": "npm:ui-router-extras@^0.1.2"
},
"devDependencies": {
"babel": "npm:babel-core@^5.8.24",
Expand Down
Binary file not shown.
49 changes: 49 additions & 0 deletions src/client/common/assets/fonts/material-icons.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
/* http://google.github.io/material-design-icons/#icon-font-for-the-web */

@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: local('Material Icons'),
local('MaterialIcons-Regular'),
url(MaterialIcons-Regular.ttf) format('truetype');
}

.material-icons {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 24px; /* Preferred icon size */
display: inline-block;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
white-space: nowrap;
direction: ltr;

/* Support for all WebKit browsers. */
-webkit-font-smoothing: antialiased;

/* Support for Safari and Chrome. */
text-rendering: optimizeLegibility;

/* Support for Firefox. */
-moz-osx-font-smoothing: grayscale;

/* Support for IE. */
font-feature-settings: 'liga';
}

/* Rules for sizing the icon. */
.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }

/* Rules for using icons as black on a light background. */
.material-icons.md-dark { color: rgba(0, 0, 0, 0.54); }
.material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); }

/* Rules for using icons as white on a dark background. */
.material-icons.md-light { color: rgba(255, 255, 255, 1); }
.material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); }

This file was deleted.

1 change: 0 additions & 1 deletion src/client/common/assets/img/material-icons/android.svg

This file was deleted.

1 change: 0 additions & 1 deletion src/client/common/assets/img/material-icons/cake.svg

This file was deleted.

1 change: 0 additions & 1 deletion src/client/common/assets/img/material-icons/copy.svg

This file was deleted.

1 change: 0 additions & 1 deletion src/client/common/assets/img/material-icons/copy2.svg

This file was deleted.

1 change: 0 additions & 1 deletion src/client/common/assets/img/material-icons/facebook.svg

This file was deleted.

4 changes: 0 additions & 4 deletions src/client/common/assets/img/material-icons/favorite.svg

This file was deleted.

1 change: 0 additions & 1 deletion src/client/common/assets/img/material-icons/hangout.svg

This file was deleted.

4 changes: 0 additions & 4 deletions src/client/common/assets/img/material-icons/ic_email_24px.svg

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions src/client/common/assets/img/material-icons/ic_phone_24px.svg

This file was deleted.

4 changes: 0 additions & 4 deletions src/client/common/assets/img/material-icons/ic_place_24px.svg

This file was deleted.

1 change: 0 additions & 1 deletion src/client/common/assets/img/material-icons/mail.svg

This file was deleted.

4 changes: 0 additions & 4 deletions src/client/common/assets/img/material-icons/menu.svg

This file was deleted.

1 change: 0 additions & 1 deletion src/client/common/assets/img/material-icons/message.svg

This file was deleted.

Loading

0 comments on commit 8435465

Please sign in to comment.