Changeset 2636216
- Timestamp:
- 11/27/2021 07:22:04 AM (4 years ago)
- Location:
- traveledmap-trip-itinerary-embedded-map/trunk
- Files:
-
- 6 edited
-
README.md (modified) (1 diff)
-
plugin.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
src/shared/front-renderer.php (modified) (1 diff)
-
src/shared/utils/utils.php (modified) (1 diff)
-
src/widget/widget.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
traveledmap-trip-itinerary-embedded-map/trunk/README.md
r2636211 r2636216 9 9 - Go to the cloned svn repository (see instructions below if the svn repository isn't cloned yet) 10 10 - Go inside the svn/trunk folder 11 - `svn add .` 11 - `svn add .` and `svn revert trunk/.git --depth infinity` 12 12 - `svn commit` 13 13 - `svn copy https://plugins.svn.wordpress.org/traveledmap-trip-itinerary-embedded-map/trunk https://plugins.svn.wordpress.org/traveledmap-trip-itinerary-embedded-map/tags/1.1.0 -m "message...."` (creates the tag) -
traveledmap-trip-itinerary-embedded-map/trunk/plugin.php
r2636211 r2636216 6 6 * Author: TraveledMap 7 7 * Author URI: https://www.traveledmap.com 8 * Version: 1.1. 18 * Version: 1.1.2 9 9 * License: GPL2+ 10 10 * License URI: https://www.gnu.org/licenses/gpl-2.0.txt -
traveledmap-trip-itinerary-embedded-map/trunk/readme.txt
r2636211 r2636216 6 6 Tested up to: 5.8.2 7 7 Requires PHP: 5.6 8 Stable tag: 1.1. 18 Stable tag: 1.1.2 9 9 License: GPLv2 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 201 201 * Update version and fixes 202 202 203 = 1.1.1 = 204 * Handle retro-compatibility with 1.0.11 205 203 206 == Upgrade Notice == 204 207 = 1.1.0 = -
traveledmap-trip-itinerary-embedded-map/trunk/src/shared/front-renderer.php
r2636205 r2636216 45 45 46 46 <script type="text/javascript"> 47 ' . TraveledMap_Utils::getStepBlockRetrocompatibilityJavascript() . ' 48 47 49 const handleTraveledMapTripBlockLoad = function () { 48 50 new TraveledMapTrip("' . $elementId . '", { -
traveledmap-trip-itinerary-embedded-map/trunk/src/shared/utils/utils.php
r2636205 r2636216 25 25 return str_replace("%", "VH", $height); 26 26 } 27 28 public static function getStepBlockRetrocompatibilityJavascript() { 29 return ' 30 // handle trip step retrocompatibility 31 Array.from(document.getElementsByClassName("traveledmap-trip-anchor")) 32 .forEach((el) => { 33 console.log(el); 34 if (!el.classList.contains("traveledmap-trip-step")) { 35 el.classList.add("traveledmap-trip-step"); 36 } 37 if (!el.getAttribute("data-step")) { 38 el.setAttribute("data-step", el.getAttribute("id")) 39 } 40 }); 41 '; 42 } 27 43 } -
traveledmap-trip-itinerary-embedded-map/trunk/src/widget/widget.php
r2636205 r2636216 100 100 101 101 <script type="text/javascript"> 102 ' . TraveledMap_Utils::getStepBlockRetrocompatibilityJavascript() . ' 103 102 104 const handleTraveledMapWidgetLoad = function () { 103 105 new TraveledMapTrip("' . $elementId . '", {
Note: See TracChangeset
for help on using the changeset viewer.