From 18eda3788460294f0d80972b813c087afa55d868 Mon Sep 17 00:00:00 2001 From: orthographic-pedant Date: Wed, 30 Sep 2015 13:11:24 -0400 Subject: [PATCH 1/5] Fixed typographical error, changed accidentaly to accidentally in README. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 27ebb10c..bb4bc448 100644 --- a/README.md +++ b/README.md @@ -1389,7 +1389,7 @@ y で読み込ませます。 -##### 12. would you like to mark this package as private which prevents it from being accidentaly published to the registry? +##### 12. would you like to mark this package as private which prevents it from being accidentally published to the registry? bower のレジストリへ登録できないようにするか どうか指定します。 From a4b544bfe294680438dc1ef8fc066a1e2073bbcd Mon Sep 17 00:00:00 2001 From: Kuniwak Date: Tue, 1 Dec 2015 01:46:46 +0900 Subject: [PATCH 2/5] Can start by npm start --- README.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bb4bc448..7bd5ea4f 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ JavaScriptTraining リポジトリを fork します。 なお、トレーニング中はこのコマンドを 終了しないでください。 - npm run serve + npm start diff --git a/package.json b/package.json index e75d2089..0fa65628 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "postinstall": "bower install", "help": "gulp help", - "serve": "gulp serve", + "start": "gulp serve", "presentation": "reveal-md README.md --theme solarized --separator '^\\n\\n\\n' --verticalSeparator '^\\n\\n'", "lint-stage-1": "gulp lint-stage-1", "lint-stage-2": "gulp lint-stage-2", From b913b33aaf6e52d4b5fecd6d09411bc26bc36d2e Mon Sep 17 00:00:00 2001 From: Kuniwak Date: Tue, 1 Dec 2015 01:47:02 +0900 Subject: [PATCH 3/5] Can change a listening port by the env var PORT --- gulp/serve.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulp/serve.js b/gulp/serve.js index cc532f28..0f8bf2cc 100644 --- a/gulp/serve.js +++ b/gulp/serve.js @@ -46,6 +46,6 @@ var serve = function() { }; -serve.PORT = 8000; +serve.PORT = process.env.PORT || 8000; module.exports = serve; From 91b5f3b18339aa338d11ab2a01c6d6fda506cf14 Mon Sep 17 00:00:00 2001 From: Kuniwak Date: Tue, 1 Dec 2015 03:51:15 +0900 Subject: [PATCH 4/5] Remove -webkit-prefix --- public/stage1/analytics.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/public/stage1/analytics.js b/public/stage1/analytics.js index d2e4b2d1..1a139d43 100644 --- a/public/stage1/analytics.js +++ b/public/stage1/analytics.js @@ -11,11 +11,11 @@ style.position = 'absolute'; style.fontSize = '100px'; - style.webkitAnimationName = 'moveHorizontal'; - style.webkitAnimationDuration = '1s'; - style.webkitAnimationIterationCount = 'infinite'; - style.webkitAnimationDirection = 'alternate-reverse'; - style.webkitAnimationFillMode = 'forwards'; + style.animationName = 'moveHorizontal'; + style.animationDuration = '1s'; + style.animationIterationCount = 'infinite'; + style.animationDirection = 'alternate-reverse'; + style.animationFillMode = 'forwards'; }; var XFlyingSushiMonster = document.registerElement('x-flying-sushi-monster', { From 91b82f9b5fa6e36dda727de2f089d29e4d2bb889 Mon Sep 17 00:00:00 2001 From: nabetama Date: Fri, 18 Dec 2015 15:07:01 +0900 Subject: [PATCH 5/5] "initMouseEvent()" has been removed from the Web standards. https://developer.mozilla.org/ja/docs/Web/API/MouseEvent/initMouseEvent --- public/stage4/tests.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/stage4/tests.js b/public/stage4/tests.js index 599536b6..848bc074 100644 --- a/public/stage4/tests.js +++ b/public/stage4/tests.js @@ -103,8 +103,7 @@ describe('ステージ4(意図通りにイベントを利用できる)', fun function createClickEvent() { var event = document.createEvent('MouseEvents'); - event.initMouseEvent('click', true, true, window, - 0, 0, 0, 80, 20, false, false, false, false, 0, null); + event.initEvent('click', false, true); return event; }