diff --git a/assets/js/jquery.ddYMap-1.3.min.js b/assets/js/jquery.ddYMap-1.3.1.min.js similarity index 55% rename from assets/js/jquery.ddYMap-1.3.min.js rename to assets/js/jquery.ddYMap-1.3.1.min.js index c41660d..09541ae 100644 --- a/assets/js/jquery.ddYMap-1.3.min.js +++ b/assets/js/jquery.ddYMap-1.3.1.min.js @@ -1,6 +1,6 @@ /** * jQuery ddYMap Plugin - * @version 1.3 (2014-07-10) + * @version 1.3.1 (2014-07-24) * * @desc A jQuery library that allows Yandex.Maps to be rendered on a page in a simple way. * @@ -18,13 +18,14 @@ * @param mapCenterOffset {array} - Center offset of the map with respect to the center of the map container in pixels. Default: [0, 0]. * @param placemarkOptions {plain object} - Placemark options. Default: {}. * - * @link http://code.divandesign.biz/jquery/ddymap/1.3 + * @link http://code.divandesign.biz/jquery/ddymap/1.3.1 * * @copyright 2014, DivanDesign * http://www.DivanDesign.biz */ -(function(b){b.extend(!0,{ddYMap:{defaults:{placemarks:[],element:"map",defaultZoom:15,defaultType:"map",scrollZoom:!1,mapCenterOffset:!1,placemarkOptions:{}},verifyRenamedParams:function(a,d){var c={},f=[];b.each(d,function(d,e){"undefined"!=b.type(a[e])&&"undefined"==b.type(a[d])&&(c[d]=a[e],f.push("\u201c"+e+"\u201d must be renamed as \u201c"+d+"\u201d;"))});if(0regClientStartupScript('http://api-maps.yandex.ru/2.1/?lang=ru-RU', array('name' => 'api-maps.yandex.ru', 'version' => '2.1')); //Подключаем $.ddYMap - $modx->regClientStartupScript($modx->getConfig('site_url').'assets/js/jquery.ddYMap-1.3.min.js', array('name' => '$.ddYMap', 'version' => '1.3')); + $modx->regClientStartupScript($modx->getConfig('site_url').'assets/js/jquery.ddYMap-1.3.1.min.js', array('name' => '$.ddYMap', 'version' => '1.3.1')); //Инлайн-скрипт инициализации $inlineScript = '(function($){$(function(){$("'.$mapElement.'").ddYMap({placemarks: new Array('.$geoPos.')';