Skip to content
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

更新ボタンと定期的にサーバーにjsonを問い合わせる機能を追加 #1

Merged
merged 1 commit into from Mar 14, 2020

Conversation

@takuminmin-m
Copy link
Contributor

takuminmin-m commented Mar 14, 2020

追加したもの

  • 更新ボタン
  • 定期的にサーバーにjsonを問い合わせる機能

JavaScriptの改変した部分

  • constvarに数か所変更
  • window.onloadに代入する無名関数をupdate()関数に変更し、この関数をsetIntervalやHTMLの更新ボタンから呼び出すように変更
  • setIntervalで10分毎にupdate()関数を呼び出すように変更

スクリーンショット

image

@taisukef

This comment has been minimized.

Copy link
Contributor

taisukef commented Mar 14, 2020

ありがとうございます!

@taisukef taisukef merged commit 8d05ed8 into code4sabae:master Mar 14, 2020
@takuminmin-m

This comment has been minimized.

Copy link
Contributor Author

takuminmin-m commented Mar 15, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.