From 05785518fb0c029d9344423fc5b917823996f7d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Leszczy=C5=84ski?= Date: Wed, 10 Feb 2016 02:43:16 +0100 Subject: [PATCH 01/15] Contact change. Title of subject change. --- Lesson 1/presentation/index.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Lesson 1/presentation/index.html b/Lesson 1/presentation/index.html index 88f93a7..2fe2ec9 100644 --- a/Lesson 1/presentation/index.html +++ b/Lesson 1/presentation/index.html @@ -42,10 +42,11 @@
-

Web Appliations

-

Damian Sosnowski
sosnowski@outlook.com

-

Andrzej Matłosz
andrzej.matlosz@gmail.com

-

Materials: https://github.com/sosnowski/Kurs_UAM

+

Modern Web Applications

+

Piotr Leszczyński
piotr.leszczynski@gft.com

+

Rafał Warzycha
rafal.warzycha@gft.com

+

Materials: https://github.com/leszczynski-it/Kurs_UL

+

Based on: https://github.com/sosnowski/Kurs_UAM

From 553d03422382e54a4c1bfaf2463ff3284895f197 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Leszczy=C5=84ski?= Date: Mon, 15 Feb 2016 20:53:03 +0100 Subject: [PATCH 02/15] =?UTF-8?q?U=C5=81=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Lesson 1/presentation/index.html | 2 +- README.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Lesson 1/presentation/index.html b/Lesson 1/presentation/index.html index 2fe2ec9..44ac0b1 100644 --- a/Lesson 1/presentation/index.html +++ b/Lesson 1/presentation/index.html @@ -4,7 +4,7 @@ - Web Applications [UAM]- by Damian Sosnowski + Modern Web Applications [UŁ] - by Damian Sosnowski diff --git a/README.md b/README.md index f28e894..6f39054 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -Kurs_UAM +Kurs_UL ======== Materials for the university JS course +Based on https://github.com/sosnowski/Kurs_UAM \ No newline at end of file From 04ee897177d21ae56de51e7f68bafb8d7443465a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Warzycha?= Date: Tue, 16 Feb 2016 11:37:25 +0100 Subject: [PATCH 03/15] Modified emails for direct contact. Added subslide with git and github resources. --- Lesson 1/presentation/index.html | 65 ++++++++++++++++++-------------- 1 file changed, 37 insertions(+), 28 deletions(-) diff --git a/Lesson 1/presentation/index.html b/Lesson 1/presentation/index.html index 44ac0b1..725ad80 100644 --- a/Lesson 1/presentation/index.html +++ b/Lesson 1/presentation/index.html @@ -43,8 +43,8 @@

Modern Web Applications

-

Piotr Leszczyński
piotr.leszczynski@gft.com

-

Rafał Warzycha
rafal.warzycha@gft.com

+

Piotr Leszczyński
piotr@leszczynski.it

+

Rafał Warzycha
rafal.warzycha@gmail.com/p>

Materials: https://github.com/leszczynski-it/Kurs_UL

Based on: https://github.com/sosnowski/Kurs_UAM

@@ -61,32 +61,41 @@

Content of the course:

  • AngularJS - Currently, the most popular MVC framework
  • - -
    -
    -
    -

    Tools and Software

    - -
      -
    • Nodejs - http://nodejs.org/
    • -
    • Good Browser - Google Chrome / Firefox / IE 10+
    • -
    • Brackets.io - or any other decent editor
    • -
    • Git and github account
    • -
    -
    - -
    -

    Requirements

    -
      -
    • Participation (max 3 absences)
    • -
    • Weekly tasks
    • -
    • 2 practice tasks
    • -
    • Final, group project. 3 phases.
    • -
    -
    -
    -
    - + +
    +
    +
    +
    +

    Tools and Software

    + +
      +
    • Nodejs - http://nodejs.org/
    • +
    • Good Browser - Google Chrome / Firefox / IE 10+
    • +
    • Brackets.io - or any other decent editor
    • +
    • Git and github account
    • +
    +
    + +
    +

    Requirements

    +
      +
    • Participation (max 3 absences)
    • +
    • Weekly tasks
    • +
    • 2 practice tasks
    • +
    • Final, group project. 3 phases.
    • +
    +
    +
    +
    +
    +

    Git and Github resources

    + +
    +
    +

    Web applications

    What is a web application?

    From ec0308acc623c0db8ed3e49a5a14000b8b900550 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Warzycha?= Date: Mon, 22 Feb 2016 11:06:03 +0100 Subject: [PATCH 04/15] Additional comments and bibliography for first lesson exercises. --- Lesson 1/code/exercises/exercise1.html | 22 ++++++++++++++++------ Lesson 1/code/exercises/exercise2.html | 23 ++++++++++++++++++++++- Lesson 1/code/exercises/exercise3.html | 21 ++++++++++++++++++++- 3 files changed, 58 insertions(+), 8 deletions(-) diff --git a/Lesson 1/code/exercises/exercise1.html b/Lesson 1/code/exercises/exercise1.html index 453e9fa..6cb0987 100644 --- a/Lesson 1/code/exercises/exercise1.html +++ b/Lesson 1/code/exercises/exercise1.html @@ -4,11 +4,19 @@ Exercise 1 - - -

    Check Variables: x = ?, y = ?, z = ?

    -

    Test: x = ?, y = ?, z = ?

    -

    Check Variables: x = ?, y = ?, z = ?

    + + +

    Guess and click game

    +
      +
    1. Click "Check Variables": x = ?, y = ?, z = ?
    2. +
    3. Click "Test": x = ?, y = ?, z = ?
    4. +
    5. Click "Check Variables": x = ?, y = ?, z = ?
    6. +
    @@ -17,10 +25,11 @@ var x = 4; y = 10; - function checkVariables() { + function checkVariables() { alert('x: ' + x); //x = ?? alert('y: ' + y); //y = ?? alert('z: ' + z); //z = ?? + } function test() { @@ -33,6 +42,7 @@ alert('z: ' + z); //z = ?? } + -
    -

    Select your weight

    - Waga 50kg. + +
    +

    Odd number validation

    +
    -
    -

    Select your height

    - Wzrost 120cm. + +
    +

    Even number validation

    +
    -

    Your BMI is: 0

    +
    + +
    + diff --git a/Lesson 4 - DOM/presentation/index.html b/Lesson 4 - DOM/presentation/index.html index b6a45d8..387e3e1 100644 --- a/Lesson 4 - DOM/presentation/index.html +++ b/Lesson 4 - DOM/presentation/index.html @@ -44,8 +44,8 @@

    Web Appliations

    DOM

    -

    Tadeusz Makuch -
    tadeusz.makuch@gmail.com

    +

    Piotr Leszczyński
    piotr@leszczynski.it

    +

    Rafał Warzycha
    rafal.warzycha@gmail.com

    Materials: https://github.com/leszczynski-it/Kurs_UL

    From de249cbf5b8f4ba44cae0d403be5314302f26a41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Warzycha?= Date: Tue, 8 Mar 2016 14:31:23 +0100 Subject: [PATCH 08/15] Added homework for DOM lesson --- Lesson 4 - DOM/code/{ => exercise1}/.jshintrc | 0 Lesson 4 - DOM/code/{ => exercise1}/app.css | 0 Lesson 4 - DOM/code/{ => exercise1}/app.js | 0 .../code/{ => exercise1}/index.html | 0 .../code/{ => exercise1}/readme.txt | 0 Lesson 4 - DOM/code/homework/.jshintrc | 70 +++++++++++ Lesson 4 - DOM/code/homework/app.css | 21 ++++ Lesson 4 - DOM/code/homework/app.js | 119 ++++++++++++++++++ Lesson 4 - DOM/code/homework/index.html | 19 +++ 9 files changed, 229 insertions(+) rename Lesson 4 - DOM/code/{ => exercise1}/.jshintrc (100%) rename Lesson 4 - DOM/code/{ => exercise1}/app.css (100%) rename Lesson 4 - DOM/code/{ => exercise1}/app.js (100%) rename Lesson 4 - DOM/code/{ => exercise1}/index.html (100%) rename Lesson 4 - DOM/code/{ => exercise1}/readme.txt (100%) create mode 100644 Lesson 4 - DOM/code/homework/.jshintrc create mode 100644 Lesson 4 - DOM/code/homework/app.css create mode 100644 Lesson 4 - DOM/code/homework/app.js create mode 100644 Lesson 4 - DOM/code/homework/index.html diff --git a/Lesson 4 - DOM/code/.jshintrc b/Lesson 4 - DOM/code/exercise1/.jshintrc similarity index 100% rename from Lesson 4 - DOM/code/.jshintrc rename to Lesson 4 - DOM/code/exercise1/.jshintrc diff --git a/Lesson 4 - DOM/code/app.css b/Lesson 4 - DOM/code/exercise1/app.css similarity index 100% rename from Lesson 4 - DOM/code/app.css rename to Lesson 4 - DOM/code/exercise1/app.css diff --git a/Lesson 4 - DOM/code/app.js b/Lesson 4 - DOM/code/exercise1/app.js similarity index 100% rename from Lesson 4 - DOM/code/app.js rename to Lesson 4 - DOM/code/exercise1/app.js diff --git a/Lesson 4 - DOM/code/index.html b/Lesson 4 - DOM/code/exercise1/index.html similarity index 100% rename from Lesson 4 - DOM/code/index.html rename to Lesson 4 - DOM/code/exercise1/index.html diff --git a/Lesson 4 - DOM/code/readme.txt b/Lesson 4 - DOM/code/exercise1/readme.txt similarity index 100% rename from Lesson 4 - DOM/code/readme.txt rename to Lesson 4 - DOM/code/exercise1/readme.txt diff --git a/Lesson 4 - DOM/code/homework/.jshintrc b/Lesson 4 - DOM/code/homework/.jshintrc new file mode 100644 index 0000000..6144a3a --- /dev/null +++ b/Lesson 4 - DOM/code/homework/.jshintrc @@ -0,0 +1,70 @@ +// NOTE: I added the .js extension to this gist so it would have syntax highlighting. This file should have NO file extension + +{ + + // Predefined globals whom JSHint will ignore. + "browser" : true, // Standard browser globals e.g. `window`, `document`. + + "node" : true, + "rhino" : false, + "couch" : false, + "wsh" : false, // Windows Scripting Host. + + + "predef" : [ // Custom globals. + "describe", + "it", + "expect", + "jasmine", + "Calc", + "beforeEach", + "afterEach" + ], + + + // Development. + "debug" : false, // Allow debugger statements e.g. browser breakpoints. + "devel" : true, // Allow developments statements e.g. `console.log();`. + + + // ECMAScript 5. + "es5" : true, // Allow ECMAScript 5 syntax. + "strict" : false, // Require `use strict` pragma in every file. + "globalstrict" : true, // Allow global "use strict" (also enables 'strict'). + + + // The Good Parts. + "asi" : false, // Tolerate Automatic Semicolon Insertion (no semicolons). + "laxbreak" : false, // Tolerate unsafe line breaks e.g. `return [\n] x` without semicolons. + "bitwise" : true, // Prohibit bitwise operators (&, |, ^, etc.). + "boss" : false, // Tolerate assignments inside if, for & while. Usually conditions & loops are for comparison, not assignments. + "curly" : true, // Require {} for every new block or scope. + "eqeqeq" : true, // Require triple equals i.e. `===`. + "eqnull" : false, // Tolerate use of `== null`. + "evil" : false, // Tolerate use of `eval`. + "expr" : false, // Tolerate `ExpressionStatement` as Programs. + "forin" : false, // Tolerate `for in` loops without `hasOwnPrototype`. + "immed" : true, // Require immediate invocations to be wrapped in parens e.g. `( function(){}() );` + "latedef" : true, // Prohipit variable use before definition. + "loopfunc" : false, // Allow functions to be defined within loops. + "noarg" : true, // Prohibit use of `arguments.caller` and `arguments.callee`. + "regexp" : true, // Prohibit `.` and `[^...]` in regular expressions. + "regexdash" : false, // Tolerate unescaped last dash i.e. `[-...]`. + "scripturl" : true, // Tolerate script-targeted URLs. + "shadow" : false, // Allows re-define variables later in code e.g. `var x=1; x=2;`. + "supernew" : false, // Tolerate `new function () { ... };` and `new Object;`. + "undef" : true, // Require all non-global variables be declared before they are used. + + + // Personal styling preferences. + "newcap" : true, // Require capitalization of all constructor functions e.g. `new F()`. + "noempty" : true, // Prohibit use of empty blocks. + "nonew" : true, // Prohibit use of constructors for side-effects. + "nomen" : true, // Prohibit use of initial or trailing underbars in names. + "onevar" : true, // Allow only one `var` statement per function. + "plusplus" : false, // Prohibit use of `++` & `--`. + "sub" : false, // Tolerate all forms of subscript notation besides dot notation e.g. `dict['key']` instead of `dict.key`. + "trailing" : true, // Prohibit trailing whitespaces. + "white" : false, // Check against strict whitespace and indentation rules. + "indent" : 4 // Specify indentation spacing +} diff --git a/Lesson 4 - DOM/code/homework/app.css b/Lesson 4 - DOM/code/homework/app.css new file mode 100644 index 0000000..b7f0356 --- /dev/null +++ b/Lesson 4 - DOM/code/homework/app.css @@ -0,0 +1,21 @@ +body { + margin: 0; + padding: 0; + background: #828281; +} + +.playArea { + width: 800px; + height: 600px; + background: #020101; + border: 10px solid #334343; + margin: 30px auto 0; + box-shadow: 5px 5px 10px #445474; +} + +.ship { + width: 64px; + height: 64px; + background-image: url("http://pixeljoint.com/files/icons/spaceship1_final.png"); + position: absolute; +} \ No newline at end of file diff --git a/Lesson 4 - DOM/code/homework/app.js b/Lesson 4 - DOM/code/homework/app.js new file mode 100644 index 0000000..825ba11 --- /dev/null +++ b/Lesson 4 - DOM/code/homework/app.js @@ -0,0 +1,119 @@ +(function() { + + //Create area and ship as `div` in `document` node + var playArea = {}, // ?? + ship = {}; // ?? + + var key = { + right: false, + left: false, + up: false, + down: false + }; + + var shipWidth = ship.offsetWidth, + shipHeight = ship.offsetHeight, + shipPos = { + x: 0, + y: 0 + }, + shipSpeed = 4; + + // Add player area and ship element at the end of `document.body` element + + // ?? + // ?? + + // Add CSS classes accordingly ( player -> player, playArea -> playArea) + + // ?? + // ?? + + //move mechanics + shipPos.x = (playArea.offsetWidth / 2 + playArea.offsetLeft) - (ship.offsetWidth / 2); + shipPos.y = (playArea.offsetHeight + playArea.offsetTop) - (ship.offsetHeight * 2); + + playArea.leftBoundary = playArea.offsetLeft + 10; + playArea.rightBoundary = (playArea.offsetLeft + playArea.offsetWidth - 10) - ship.offsetWidth; + + playArea.topBoundary = playArea.offsetTop + 10; + playArea.bottomBoundary = (playArea.offsetTop + playArea.offsetHeight - 10) - ship.offsetHeight; + + //keys support + function keyDown(e) { + if (e.keyCode === 39) { + key.right = true; + } else if (e.keyCode === 37) { + key.left = true; + } + if (e.keyCode === 38) { + key.up = true; + } else if (e.keyCode === 40) { + key.down = true; + } + } + + function keyUp(e) { + if (e.keyCode === 39) { + key.right = false; + } else if (e.keyCode === 37) { + key.left = false; + } + if (e.keyCode === 38) { + key.up = false; + } else if (e.keyCode === 40) { + key.down = false; + } + } + + // main + function moveShip() { + if (key.right === true) { + shipPos.x += shipSpeed; + } else if (key.left === true) { + shipPos.x -= shipSpeed; + } + if (key.up === true) { + shipPos.y -= shipSpeed; + } else if (key.down === true) { + shipPos.y += shipSpeed; + } + if (shipPos.x < playArea.leftBoundary) { + shipPos.x = playArea.leftBoundary; + } + if (shipPos.x > playArea.rightBoundary) { + shipPos.x = playArea.rightBoundary; + } + if (shipPos.y < playArea.topBoundary) { + shipPos.y = playArea.topBoundary; + } + if (shipPos.y > playArea.bottomBoundary) { + shipPos.y = playArea.bottomBoundary; + } + + //setting right style for positioning skip + ship.style.left = shipPos.x + 'px'; + ship.style.top = shipPos.y + 'px'; + } + + // add event listeners observers for both `keydown` and `keyup` events + // using 'keydown' and 'keyup' functions provided above + + // ?? + // ?? + + // Main game loop + function loop() { + moveShip(); + setTimeout(loop, 1000 / 60); + } + + loop(); + +})(); + +// Resources +// https://developer.mozilla.org/pl/docs/Web/API/Document/createElement +// https://developer.mozilla.org/pl/docs/Web/API/Element/appendChild +// https://developer.mozilla.org/pl/docs/Web/API/Element/classList +// https://developer.mozilla.org/pl/docs/Web/API/Element/addEventListener \ No newline at end of file diff --git a/Lesson 4 - DOM/code/homework/index.html b/Lesson 4 - DOM/code/homework/index.html new file mode 100644 index 0000000..e7b5287 --- /dev/null +++ b/Lesson 4 - DOM/code/homework/index.html @@ -0,0 +1,19 @@ + + + + + + + Game + + + + + + + + + + + + \ No newline at end of file From 411638da83eefdd426c7d49716d1be3fd2606f54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Warzycha?= Date: Wed, 9 Mar 2016 14:34:50 +0100 Subject: [PATCH 09/15] Fixed dom loaded error --- Lesson 4 - DOM/code/homework/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lesson 4 - DOM/code/homework/app.js b/Lesson 4 - DOM/code/homework/app.js index 825ba11..dad024e 100644 --- a/Lesson 4 - DOM/code/homework/app.js +++ b/Lesson 4 - DOM/code/homework/app.js @@ -1,4 +1,4 @@ -(function() { +window.addEventListener('DOMContentLoaded', function () { //Create area and ship as `div` in `document` node var playArea = {}, // ?? @@ -110,7 +110,7 @@ loop(); -})(); +}); // Resources // https://developer.mozilla.org/pl/docs/Web/API/Document/createElement From cf7a6c3525286a4dd24d5c34f5ebee2233eebd61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Warzycha?= Date: Fri, 18 Mar 2016 14:22:21 +0100 Subject: [PATCH 10/15] Updated description --- Lesson 6 - Developer tools/presentation/index.html | 3 --- 1 file changed, 3 deletions(-) diff --git a/Lesson 6 - Developer tools/presentation/index.html b/Lesson 6 - Developer tools/presentation/index.html index 49aeebc..b941465 100644 --- a/Lesson 6 - Developer tools/presentation/index.html +++ b/Lesson 6 - Developer tools/presentation/index.html @@ -277,10 +277,7 @@

    Homework

  • Add jshint for gulp and set up jshint to allow == and != operators (add proper file to project)
  • Add gulp (and its required libraries) to concatenate previously created text files into build/result.txt file
  • Upload the project to github and add node_modules folder to ignore file (.gitignore)
  • -
  • Send the link to the your repo at tadeusz.makuch@gmail.com
  • - -

    Deadline for submiting solutions - December 1st 17:00

    From 0ee66cdc34b82bdfc031613739debbe90a3194c9 Mon Sep 17 00:00:00 2001 From: Piotr Leszczynski Date: Tue, 22 Mar 2016 15:04:20 +0100 Subject: [PATCH 11/15] jshint install instruction for vs code --- Lesson 6 - Developer tools/presentation/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/Lesson 6 - Developer tools/presentation/index.html b/Lesson 6 - Developer tools/presentation/index.html index b941465..1902eba 100644 --- a/Lesson 6 - Developer tools/presentation/index.html +++ b/Lesson 6 - Developer tools/presentation/index.html @@ -79,6 +79,7 @@

    Using JSHint


    Editor plugin

    (for Brackets: https://github.com/cfjedimaster/brackets-jshint)

    +

    (for Visual Studio Code: F1 => Install Extension => jshint)

    From c993cacaa322180327d871044051666dc42c34b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Warzycha?= Date: Tue, 29 Mar 2016 13:05:15 +0200 Subject: [PATCH 12/15] Update README.md Homework --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6f39054..9b07174 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,11 @@ Kurs_UL ======== Materials for the university JS course -Based on https://github.com/sosnowski/Kurs_UAM \ No newline at end of file +Based on https://github.com/sosnowski/Kurs_UAM + +Homework from lessons 1,2,3,4,5,6 need to be sent to gihub.com till 29.03.2016 - 16:40. + +* all homeworks with Result: :white_check_mark: - :five: +* 1 homework missing or with :no_entry_sign: - :four: +* 2 homeworks missing or with :no_entry_sign: - :three: +* 3 or more homeworks missing or with :no_entry_sign: - you need to take test. :( From 8ceb9e1e28404118a63140d61d1e8dd0da8ac2e5 Mon Sep 17 00:00:00 2001 From: Piotr Leszczynski Date: Mon, 25 Apr 2016 13:45:17 +0200 Subject: [PATCH 13/15] Change get to post --- Lesson 9 - Promises and Ajax/code/http/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lesson 9 - Promises and Ajax/code/http/server.js b/Lesson 9 - Promises and Ajax/code/http/server.js index 5db6cc5..a92e4ac 100644 --- a/Lesson 9 - Promises and Ajax/code/http/server.js +++ b/Lesson 9 - Promises and Ajax/code/http/server.js @@ -38,7 +38,7 @@ app.get('/elements', function (req, res) { res.json(savedData); }); -app.get('/elements/:id', function (req, res) { +app.post('/elements/:id', function (req, res) { var element; savedData.forEach(function (record) { console.log(req.params.id); From 80944b51e88f8b147ba1400591c6eb3316e1eff6 Mon Sep 17 00:00:00 2001 From: Piotr Leszczynski Date: Mon, 25 Apr 2016 15:57:06 +0200 Subject: [PATCH 14/15] Plan --- Lesson 9 - Promises and Ajax/presentation/index.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Lesson 9 - Promises and Ajax/presentation/index.html b/Lesson 9 - Promises and Ajax/presentation/index.html index cf478ce..2da5114 100644 --- a/Lesson 9 - Promises and Ajax/presentation/index.html +++ b/Lesson 9 - Promises and Ajax/presentation/index.html @@ -41,6 +41,17 @@
    +
    +

    Plan

    +
      +
    • 26 april 2016 - Lesson 9 - Promises and Ajax
    • +
    • 10 may 2016 - Lesson 10 - WebSockets
    • +
    • 17 may 2016 - Lesson 11 - Unit Testing
    • +
    • 24 may 2016 - Lesson 12 - Mobile app development
    • +
    • 31 may 2016 - Lesson 13 - TBA
    • +
    • 7 june 2016 - Project deadline
    • +
    +

    Asynchronous JavaScript

    From 1f0675f66c779fe838cf1b7e24ec950509c02495 Mon Sep 17 00:00:00 2001 From: Piotr Leszczynski Date: Tue, 10 May 2016 14:07:58 +0200 Subject: [PATCH 15/15] jspm added --- Lesson 10 - WebSockets/code/complexChat/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Lesson 10 - WebSockets/code/complexChat/package.json b/Lesson 10 - WebSockets/code/complexChat/package.json index 1c17373..3a2c2b6 100644 --- a/Lesson 10 - WebSockets/code/complexChat/package.json +++ b/Lesson 10 - WebSockets/code/complexChat/package.json @@ -3,11 +3,13 @@ "version": "0.0.1", "private": true, "scripts": { - "start": "node app.js" + "start": "node app.js", + "postinstall": "jspm install" }, "dependencies": { "body-parser": "^1.12.2", "express": "3.4.4", + "jspm": "^0.16.34", "method-override": "^2.3.2", "morgan": "^1.5.2", "multer": "^0.1.8",