OSDN Git Service

descSortedDepth 内の未使用変数削除
authorYoshihiro Yamazaki <yoya@awm.jp>
Tue, 4 Dec 2012 12:14:24 +0000 (21:14 +0900)
committerYoshihiro Yamazaki <yoya@awm.jp>
Tue, 4 Dec 2012 12:14:24 +0000 (21:14 +0900)
src/display.js

index 3d417e8..d1a8239 100644 (file)
@@ -34,7 +34,6 @@ FlappDisplay.prototype = {
         delete this.places[depth];
     },
     descSortedDepth: function() {
-        var depthList = new Array(this.objs.length);
         var keys = Object.keys(this.objs);
         return keys.sort(
             function(a,b) { return (a>b)?-1:((a<b)?1:0); }