Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
hodgef committed Dec 2, 2018
1 parent 82e87d6 commit 39f4157
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 13 deletions.
6 changes: 5 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
<html>

<head></head>
<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/simple-keyboard@latest/build/css/index.css">
<link rel="stylesheet" href="src/index.css">
</head>

<body>
<input class="input" placeholder="Tap on the virtual keyboard to start" />
<div class="simple-keyboard"></div>

<script src="https://cdn.jsdelivr.net/npm/simple-keyboard@latest/build/index.min.js"></script>
<script src="src/index.js"></script>
</body>

Expand Down
7 changes: 1 addition & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"start": "parcel index.html --open",
"build": "parcel build index.html"
},
"dependencies": {
"simple-keyboard": "latest"
},
"dependencies": {},
"devDependencies": {
"parcel-bundler": "^1.6.1"
},
Expand Down
4 changes: 1 addition & 3 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import Keyboard from "simple-keyboard";
import "simple-keyboard/build/css/index.css";
import "./index.css";
let Keyboard = window.SimpleKeyboard.default;

let keyboard = new Keyboard({
onChange: input => onChange(input),
Expand Down

0 comments on commit 39f4157

Please sign in to comment.