Skip to content

Conversation

@lacolaco
Copy link
Collaborator

@lacolaco lacolaco commented Dec 7, 2022

Fix #1532

@lacolaco lacolaco requested a review from azu December 7, 2022 02:16
@bot-user
Copy link

bot-user commented Dec 7, 2022

Deploy Preview for js-primer ready!

Name Link
🔨 Latest commit 3bbe89e
🔍 Latest deploy log https://app.netlify.com/sites/js-primer/deploys/6391bb50875fe90008937ff3
😎 Deploy Preview https://deploy-preview-1538--js-primer.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.


次に同じディレクトリに`index.js`というファイルを作成します。
`index.js`にはスクリプトが正しく読み込まれたことを確認できるよう、コンソールにログを出力する処理だけを書いておきます。
次に、`src`というディレクトリを作成し、その中に`index.js`というファイルを作成します。
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

あ、ここで増えてたのか。

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

index.jssrc/index.js を示すようになってちょっとややこしさを感じる。

https://deploy-preview-1538--js-primer.netlify.app/use-case/todoapp/
Todoだとindex.htmlとindex.js同じ場所においてたんだよねー

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

あれ、そうですっけ todoappのほうでsrcに入れてたと思って合わせたつもりだった なくて良さそうなら無くします

@lacolaco
Copy link
Collaborator Author

lacolaco commented Dec 7, 2022

jsファイルのsrcディレクトリは消す(テスト対象のglobに使ってなかったかを確認する)

@lacolaco lacolaco requested a review from azu December 8, 2022 10:26
Copy link
Collaborator

@azu azu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@azu azu merged commit 555e9ac into master Dec 8, 2022
@azu azu deleted the ajaxapp-example-movedir branch December 8, 2022 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ajax: /src を消すようにする

4 participants