Permalink
Browse files

Amending jsdoc comment on swap()

Thanks to Gectou4 for pointing out this issue
  • Loading branch information...
1 parent 27e28d2 commit 762897a30ec8d1c74b574ca744addd315b2e200f @dezfowler dezfowler committed Sep 11, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 source/mxn.core.js
View
@@ -379,11 +379,11 @@ Mapstraction.prototype.dragging = function(on) {
};
/**
- * Change the current api on the fly
+ * Change the current API on the fly
+ * @param {Object} element The DOM element containing the map
* @param {String} api The API to swap to
- * @param element
*/
-Mapstraction.prototype.swap = function(element,api) {
+Mapstraction.prototype.swap = function(element, api) {
if (this.api === api) {
return;
}

0 comments on commit 762897a

Please sign in to comment.