-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docs][ci skip] CDN の参照バージョンを 1.1.11 に変更する
- Loading branch information
Showing
46 changed files
with
52 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
<script type="module"> | ||
document.querySelector("shogi-player-wc") | ||
.shadowRoot | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/vue@2"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10/dist/lib/production/shogi-player.umd.min.js"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11/dist/lib/production/shogi-player.umd.min.js"></script> | ||
<script type="module"> | ||
new Vue({el: "#app", components: { ShogiPlayer }}) | ||
</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
<script type="module"> | ||
const el = document.querySelector("shogi-player-wc") | ||
el.addEventListener("ev_play_mode_move", e => { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
<script type="module"> | ||
import { LitElement, html } from "https://cdn.jsdelivr.net/gh/lit/dist@2/core/lit-core.min.js" | ||
export class MyApp extends LitElement { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
<script type="module"> | ||
import { LitElement, css, html } from "https://cdn.jsdelivr.net/gh/lit/dist@2/core/lit-core.min.js" | ||
export class ShogiBoard extends LitElement { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
<script defer src="https://cdn.jsdelivr.net/npm/react@18/umd/react.production.min.js"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/react-dom@18/umd/react-dom.production.min.js"></script> | ||
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.34/browser.min.js"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
<script type="text/babel"> | ||
class App extends React.Component { | ||
constructor(props) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/ruby-head-wasm-wasi@latest/dist/browser.script.iife.js"></script> | ||
<script type="text/ruby"> | ||
require "js" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
<script type="module"> | ||
import { render } from "https://cdn.skypack.dev/solid-js/web" | ||
import html from "https://cdn.skypack.dev/solid-js/html" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/vue@2"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
<script type="module"> | ||
Vue.config.ignoredElements = ["shogi-player-wc"] | ||
new Vue({el: "#app"}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/vue@3"></script> | ||
<script type="module"> | ||
const app = Vue.createApp({ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
<script type="module"> | ||
class ShogiBoard extends HTMLElement { | ||
constructor() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
<script type="module"> | ||
class ShogiBoard extends HTMLElement { | ||
constructor() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
<!-- <script defer src="../../dist/wc/production/shogi-player-wc.js"></script> --> | ||
<script type="module"> | ||
import { LitElement, css, html } from "https://cdn.jsdelivr.net/gh/lit/dist@2/core/lit-core.min.js" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
<style> | ||
* { | ||
box-sizing: border-box; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
<!-- <script defer src="../../dist/wc/development/shogi-player-wc.min.js"></script> --> | ||
<!-- <script defer src="../../dist/wc/production/shogi-player-wc.min.js"></script> --> | ||
<style> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
<!-- <script defer src="../../dist/wc/development/shogi-player-wc.min.js"></script> --> | ||
<style> | ||
* { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
<!-- <script defer src="../../dist/wc/development/shogi-player-wc.min.js"></script> --> | ||
<style> | ||
* { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
<!-- <script defer src="../../dist/wc/development/shogi-player-wc.min.js"></script> --> | ||
<style> | ||
* { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10/dist/wc/development/shogi-player-wc.min.js"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11/dist/wc/development/shogi-player-wc.min.js"></script> | ||
<shogi-player-wc></shogi-player-wc> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
<shogi-player-wc sp_debug="true"></shogi-player-wc> |
2 changes: 1 addition & 1 deletion
2
main_doc/docs/.vuepress/public/examples/debug/sp_dev_tools.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
<shogi-player-wc sp_dev_tools="true"></shogi-player-wc> |
2 changes: 1 addition & 1 deletion
2
main_doc/docs/.vuepress/public/examples/debug/sp_event_log.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
<shogi-player-wc sp_event_log="true"></shogi-player-wc> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
<shogi-player-wc sp_layer="true"></shogi-player-wc> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
<script type="module"> | ||
const el = document.querySelector("shogi-player-wc") | ||
el.addEventListener("ev_play_mode_move", e => { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
<shogi-player-wc></shogi-player-wc> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
<!-- <script defer src="../../dist/wc/production/shogi-player-wc.js"></script> --> | ||
<script type="module"> | ||
import { LitElement, css, html } from "https://cdn.jsdelivr.net/gh/lit/dist@2/core/lit-core.min.js" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
<style> | ||
.container { | ||
display: flex; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
</head> | ||
<body> | ||
<shogi-player-wc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
<style> | ||
</style> | ||
</head> | ||
|
2 changes: 1 addition & 1 deletion
2
main_doc/docs/.vuepress/public/examples/script-unpkg-latest.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
<shogi-player-wc></shogi-player-wc> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
</head> | ||
<body> | ||
<shogi-player-wc></shogi-player-wc> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
<script type="module"> | ||
const el = document.querySelector("shogi-player-wc") | ||
let turn = 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
</head> | ||
<body> | ||
<shogi-player-wc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
<style> | ||
shogi-player-wc::part(root) { | ||
--sp_board_color: LightSkyBlue; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
</head> | ||
<body> | ||
<shogi-player-wc></shogi-player-wc> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<!-- <script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> --> | ||
<!-- <script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> --> | ||
<script defer src="../../dist/wc/production/shogi-player-wc.js"></script> | ||
<style> | ||
.container { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script type="module"> | ||
import "https://cdn.jsdelivr.net/npm/[email protected].10" | ||
import "https://cdn.jsdelivr.net/npm/[email protected].11" | ||
</script> | ||
</head> | ||
<body> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script type="module"> | ||
import "https://cdn.jsdelivr.net/npm/[email protected].10" | ||
import "https://cdn.jsdelivr.net/npm/[email protected].11" | ||
</script> | ||
</head> | ||
<body> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
<script type="module"> | ||
class MyShogiPlayer extends HTMLElement { | ||
constructor() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<!DOCTYPE html> | ||
<head> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
</head> | ||
<body> | ||
<shogi-player-wc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].10"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].11"></script> | ||
</head> | ||
<body> | ||
<shogi-player-wc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,19 +85,19 @@ CSS変数は普通に定義しても Shadow DOM 内には届かない | |
|
||
## CDN | ||
|
||
* JSDelivr: https://cdn.jsdelivr.net/npm/[email protected].10 | ||
* UNPKG: https://unpkg.com/[email protected].10 | ||
* JSDelivr: https://cdn.jsdelivr.net/npm/[email protected].11 | ||
* UNPKG: https://unpkg.com/[email protected].11 | ||
|
||
どちらも production 版へのショートカットになっている | ||
|
||
### CDNの正確なURL | ||
|
||
* JSDelivr | ||
* https://cdn.jsdelivr.net/npm/[email protected].10/dist/wc/production/shogi-player-wc.min.js | ||
* https://cdn.jsdelivr.net/npm/[email protected].10/dist/wc/development/shogi-player-wc.min.js | ||
* https://cdn.jsdelivr.net/npm/[email protected].11/dist/wc/production/shogi-player-wc.min.js | ||
* https://cdn.jsdelivr.net/npm/[email protected].11/dist/wc/development/shogi-player-wc.min.js | ||
* UNPKG | ||
* https://unpkg.com/[email protected].10/dist/wc/production/shogi-player-wc.min.js | ||
* https://unpkg.com/[email protected].10/dist/wc/development/shogi-player-wc.min.js | ||
* https://unpkg.com/[email protected].11/dist/wc/production/shogi-player-wc.min.js | ||
* https://unpkg.com/[email protected].11/dist/wc/development/shogi-player-wc.min.js | ||
|
||
production と development 版の2つがあり development 版を使うときはフルパスで書く | ||
|
||
|
@@ -110,7 +110,7 @@ production と development 版の2つがあり development 版を使うときは | |
|
||
本番では `@x.x.x` をつけてバージョンを固定した方がよい | ||
|
||
* https://unpkg.com/[email protected].10 | ||
* https://unpkg.com/[email protected].11 | ||
|
||
最新バージョン → [![npm version](https://badge.fury.io/js/shogi-player.svg)](https://badge.fury.io/js/shogi-player) | ||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.