From 366a27f3b479fc41451a48695aeebf6fd15b36b2 Mon Sep 17 00:00:00 2001 From: npmcdn-to-unpkg-bot Date: Fri, 2 Sep 2016 12:39:58 +0100 Subject: [PATCH] Replace npmcdn.com with unpkg.com --- InputfieldLeafletMapMarker.module | 4 ++-- MarkupLeafletMap.module | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) mode change 100755 => 100644 InputfieldLeafletMapMarker.module mode change 100755 => 100644 MarkupLeafletMap.module diff --git a/InputfieldLeafletMapMarker.module b/InputfieldLeafletMapMarker.module old mode 100755 new mode 100644 index ade782d..79cedc7 --- a/InputfieldLeafletMapMarker.module +++ b/InputfieldLeafletMapMarker.module @@ -58,10 +58,10 @@ class InputfieldLeafletMapMarker extends Inputfield { $class = $this->className(); $assetPath = $this->config->urls->$class; - $this->config->styles->add(($this->config->https ? 'https' : 'http') . '://npmcdn.com/leaflet@0.7.7/dist/leaflet.css'); + $this->config->styles->add(($this->config->https ? 'https' : 'http') . '://unpkg.com/leaflet@0.7.7/dist/leaflet.css'); $this->config->styles->add($assetPath . 'Control.Geocoder.css'); //$this->config->styles->add($this->config->urls->$class . 'InputfieldLeafletMapMarker.css'); - $this->config->scripts->add(($this->config->https ? 'https' : 'http') . '://npmcdn.com/leaflet@0.7.7/dist/leaflet.js'); + $this->config->scripts->add(($this->config->https ? 'https' : 'http') . '://unpkg.com/leaflet@0.7.7/dist/leaflet.js'); $this->config->scripts->add($assetPath . 'assets/leaflet-providers/leaflet-providers.js'); $this->config->scripts->add($assetPath . 'Control.Geocoder.js'); diff --git a/MarkupLeafletMap.module b/MarkupLeafletMap.module old mode 100755 new mode 100644 index 5db3715..6ae964f --- a/MarkupLeafletMap.module +++ b/MarkupLeafletMap.module @@ -165,12 +165,12 @@ class MarkupLeafletMap extends WireData implements Module { } $lines .= << - + - +