From bd030944c112c4d399467e6952f1a6ceffde616b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E6=B5=A9=E4=B9=90?= Date: Mon, 4 Jan 2016 08:14:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=A7=E5=BA=A6=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 144 ++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 100 insertions(+), 44 deletions(-) diff --git a/index.js b/index.js index 2e3d49b..f880604 100644 --- a/index.js +++ b/index.js @@ -112,50 +112,106 @@ y:15, data:map_data, draw:function(context){ - var x_length = this.data[0].length; - var y_length = this.data.length; - for(var i=0; i