-
-
Notifications
You must be signed in to change notification settings - Fork 228
refactor(use-case/ajaxapp): サンプルコードのディレクトリをexampleに移動 #1538
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Deploy Preview for js-primer ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
|
|
||
| 次に同じディレクトリに`index.js`というファイルを作成します。 | ||
| `index.js`にはスクリプトが正しく読み込まれたことを確認できるよう、コンソールにログを出力する処理だけを書いておきます。 | ||
| 次に、`src`というディレクトリを作成し、その中に`index.js`というファイルを作成します。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
あ、ここで増えてたのか。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
index.js が src/index.js を示すようになってちょっとややこしさを感じる。
https://deploy-preview-1538--js-primer.netlify.app/use-case/todoapp/
Todoだとindex.htmlとindex.js同じ場所においてたんだよねー
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
あれ、そうですっけ todoappのほうでsrcに入れてたと思って合わせたつもりだった なくて良さそうなら無くします
|
jsファイルのsrcディレクトリは消す(テスト対象のglobに使ってなかったかを確認する) |
azu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fix #1532