diff options
| author | Li Zhineng <[email protected]> | 2013-06-10 16:40:34 +0800 |
|---|---|---|
| committer | Li Zhineng <[email protected]> | 2013-06-10 16:40:34 +0800 |
| commit | a92f6af5807669013aa40771690e0472d7f5da9d (patch) | |
| tree | 9423367249ab2032ad1d0d7b0007144759bea247 /index.html | |
| parent | 006b98dfd0ae1fbc34ef4c135e4ab07a7b82b152 (diff) | |
| download | word-search-game-a92f6af5807669013aa40771690e0472d7f5da9d.tar.gz word-search-game-a92f6af5807669013aa40771690e0472d7f5da9d.zip | |
Code refactoring
Diffstat (limited to 'index.html')
| -rw-r--r-- | index.html | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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 |
