summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorShmuel83 <[email protected]>2016-06-20 13:56:02 +0200
committerShmuel83 <[email protected]>2016-06-20 13:56:02 +0200
commit28aea219e9c8cb7406400d525eb5c6187aaaeb95 (patch)
tree511b5aea785696000e7e3393fd0479dc7970ba03 /index.html
parent4e0eb400d47e9ef3ded2b719348c0aa7b56a4530 (diff)
downloadword-search-game-28aea219e9c8cb7406400d525eb5c6187aaaeb95.tar.gz
word-search-game-28aea219e9c8cb7406400d525eb5c6187aaaeb95.zip
Remove accent
Let words with accents in the list, but delete the grid
Diffstat (limited to 'index.html')
-rw-r--r--index.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/index.html b/index.html
index 7f8fc44..acf1913 100644
--- a/index.html
+++ b/index.html
@@ -3,8 +3,8 @@
<head>
<meta charset="utf-8">
<title>Word search game</title>
- <link rel="stylesheet" href="css/wordsearch.min.css" />
- <link rel="stylesheet" href="css/style.min.css" />
+ <link rel="stylesheet" href="css/wordsearch.css" />
+ <link rel="stylesheet" href="css/style.css" />
</head>
<body>
<div class="wrap">
@@ -13,14 +13,14 @@
<ul class="ws-words"></ul>
</div>
<a href="https://github.com/lizhineng/word-search-game"><img style="position: absolute; top: 0; right: 0; border: 0;" src="images/forkme_right_red.png" alt="Fork me on GitHub"></a>
- <script src="js/utility.min.js"></script>
- <script src="js/wordsearch.min.js"></script>
+ <script src="js/utility.js"></script>
+ <script src="js/wordsearch.js"></script>
<script type="text/javascript">
var gameAreaEl = document.getElementById('ws-area');
- var gameobj = gameAreaEl.wordSearch();
+ var gameobj = gameAreaEl.wordSearch({'words':["mangé","pendre", "Plâtre"]});
// Put words into `.ws-words`
- var words = gameobj.settings.words,
+ var words = gameobj.settings.wordsList,
wordsWrap = document.querySelector('.ws-words');
for (i in words) {
var liEl = document.createElement('li');