diff options
| author | lizhineng <[email protected]> | 2013-06-29 13:43:40 +0800 |
|---|---|---|
| committer | lizhineng <[email protected]> | 2013-06-29 13:43:40 +0800 |
| commit | ef5c55619e88600492d6d4015660e7101baafce3 (patch) | |
| tree | 9fa8532ed28c01bcce948c179f2aec3e5699bc42 /index.html | |
| parent | 13eb52b240aa6804264bcfa05a27e64061d96c0e (diff) | |
| download | word-search-game-ef5c55619e88600492d6d4015660e7101baafce3.tar.gz word-search-game-ef5c55619e88600492d6d4015660e7101baafce3.zip | |
Optimized the existing code
Diffstat (limited to 'index.html')
| -rw-r--r-- | index.html | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -15,7 +15,8 @@ <script src="js/wordsearch.js"></script> <script type="text/javascript"> var gameAreaEl = document.getElementById('ws-area'); - gameAreaEl.wordSeach(); + var gameobj = gameAreaEl.wordSeach(); + console.log(gameobj.words); </script> </body> </html>
\ No newline at end of file |
