From 87940d4844aa4fa378c19023757b089cd42ed44a Mon Sep 17 00:00:00 2001 From: Indigo744 Date: Wed, 2 Dec 2015 23:07:42 +0100 Subject: [PATCH] Use $.mapael instead of $.fn.mapael --- js/maps/france_departments.js | 2 +- js/maps/usa_states.js | 2 +- js/maps/world_countries.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/maps/france_departments.js b/js/maps/france_departments.js index 18b5e1b..4283189 100644 --- a/js/maps/france_departments.js +++ b/js/maps/france_departments.js @@ -18,7 +18,7 @@ define(['jquery', 'mapael'], factory); } else { // Browser globals - factory(jQuery, jQuery.fn.mapael); + factory(jQuery, jQuery.mapael); } }(function ($, Mapael) { diff --git a/js/maps/usa_states.js b/js/maps/usa_states.js index 46cb4f8..7161ecf 100644 --- a/js/maps/usa_states.js +++ b/js/maps/usa_states.js @@ -16,7 +16,7 @@ define(['jquery', 'mapael'], factory); } else { // Browser globals - factory(jQuery, jQuery.fn.mapael); + factory(jQuery, jQuery.mapael); } }(function ($, Mapael) { diff --git a/js/maps/world_countries.js b/js/maps/world_countries.js index 614fbda..222326c 100644 --- a/js/maps/world_countries.js +++ b/js/maps/world_countries.js @@ -17,7 +17,7 @@ define(['jquery', 'mapael'], factory); } else { // Browser globals - factory(jQuery, jQuery.fn.mapael); + factory(jQuery, jQuery.mapael); } }(function ($, Mapael) {