summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorlizhineng <[email protected]>2013-06-29 13:43:40 +0800
committerlizhineng <[email protected]>2013-06-29 13:43:40 +0800
commitef5c55619e88600492d6d4015660e7101baafce3 (patch)
tree9fa8532ed28c01bcce948c179f2aec3e5699bc42 /index.html
parent13eb52b240aa6804264bcfa05a27e64061d96c0e (diff)
downloadword-search-game-ef5c55619e88600492d6d4015660e7101baafce3.tar.gz
word-search-game-ef5c55619e88600492d6d4015660e7101baafce3.zip
Optimized the existing code
Diffstat (limited to 'index.html')
-rw-r--r--index.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.html b/index.html
index 1dae521..2e9adc0 100644
--- a/index.html
+++ b/index.html
@@ -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