s/Highligher/Highlighter/

This commit is contained in:
nexushoratio
2014-01-05 22:30:54 -08:00
parent f038693403
commit cefbf95c85
15 changed files with 107 additions and 107 deletions

View File

@ -19,15 +19,15 @@
// PLUGIN START ////////////////////////////////////////////////////////
// use own namespace for plugin
window.plugin.portalHighligherHideOwnership = function() {};
window.plugin.portalHighlighterHideOwnership = function() {};
window.plugin.portalHighligherHideOwnership.highlight = function(data) {
window.plugin.portalHighlighterHideOwnership.highlight = function(data) {
var params = {fillColor: COLORS[TEAM_NONE], color: COLORS[TEAM_NONE], opacity: 1, fillOpacity: 0.5, radius: 7+(L.Browser.mobile ? PORTAL_RADIUS_ENLARGE_MOBILE : 0), weight: 2};
data.portal.setStyle(params);
}
var setup = function() {
window.addPortalHighlighter('Hide portal ownership', window.plugin.portalHighligherHideOwnership.highlight);
window.addPortalHighlighter('Hide portal ownership', window.plugin.portalHighlighterHideOwnership.highlight);
}
// PLUGIN END //////////////////////////////////////////////////////////