Permalink
Browse files

Support chaining and returning in legend

  • Loading branch information...
1 parent 3dcff40 commit 7a977e131f90e86ebdcec4fc0320e3611a4e1d2a @tmcw tmcw committed Jun 24, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 control/mm/legend.js
View
@@ -18,6 +18,7 @@ wax.mm.legend = function(map, options) {
})
]);
}
+ return this;
};
return legend.add(map);
};

0 comments on commit 7a977e1

Please sign in to comment.