client code cleanup

This commit is contained in:
Andrew Kelley 2014-04-13 01:42:20 -07:00
parent 52e54b0152
commit 145e39ff02

View file

@ -47,13 +47,13 @@ var selection = {
this.rangeSelectAnchor = null;
this.rangeSelectAnchorType = null;
},
selectOnly: function(sel_name, key){
selectOnly: function(selName, key){
this.clear();
this.type = sel_name;
this.ids[sel_name][key] = true;
this.type = selName;
this.ids[selName][key] = true;
this.cursor = key;
this.rangeSelectAnchor = key;
this.rangeSelectAnchorType = sel_name;
this.rangeSelectAnchorType = selName;
},
isMulti: function(){
var result, k;