summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorLi Zhineng <[email protected]>2013-06-10 16:40:34 +0800
committerLi Zhineng <[email protected]>2013-06-10 16:40:34 +0800
commita92f6af5807669013aa40771690e0472d7f5da9d (patch)
tree9423367249ab2032ad1d0d7b0007144759bea247 /index.html
parent006b98dfd0ae1fbc34ef4c135e4ab07a7b82b152 (diff)
downloadword-search-game-a92f6af5807669013aa40771690e0472d7f5da9d.tar.gz
word-search-game-a92f6af5807669013aa40771690e0472d7f5da9d.zip
Code refactoring
Diffstat (limited to 'index.html')
-rw-r--r--index.html7
1 files changed, 2 insertions, 5 deletions
diff --git a/index.html b/index.html
index 446872f..1dae521 100644
--- a/index.html
+++ b/index.html
@@ -8,17 +8,14 @@
<body>
<div class="wrap">
<h1 class="logo">Word search game</h1>
- <section id="ws-area" class="fix"></section>
+ <section id="ws-area"></section>
</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.js"></script>
<script src="js/wordsearch.js"></script>
<script type="text/javascript">
var gameAreaEl = document.getElementById('ws-area');
- gameAreaEl.wordSeach({
- 'gridSize': 10,
- 'words': ['one', 'two', 'three', 'four', 'five']
- });
+ gameAreaEl.wordSeach();
</script>
</body>
</html> \ No newline at end of file