Changeset 1818855
- Timestamp:
- 02/09/2018 09:44:30 AM (8 years ago)
- Location:
- animated-typing-effect
- Files:
-
- 3 edited
- 1 copied
-
tags/1.3 (copied) (copied from animated-typing-effect/trunk)
-
trunk/README.txt (modified) (1 diff)
-
trunk/assets/js/typed.admin.js (modified) (2 diffs)
-
trunk/typingeffect.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
animated-typing-effect/trunk/README.txt
r1743936 r1818855 3 3 Tags: animated typing effect, typewriter effect, typing effect plugin 4 4 Requires at least: 3.5 5 Tested up to: 4. 8.25 Tested up to: 4.9.4 6 6 Stable tag: trunk 7 7 License: GPL v3 -
animated-typing-effect/trunk/assets/js/typed.admin.js
r1743934 r1818855 57 57 58 58 $inputs.each( function() { 59 strings.push( $( this ).val() ); 59 const string = $(this).val().replace('&', '&').replace('&', '&'); 60 61 strings.push( string ); 60 62 }); 61 63 … … 93 95 94 96 values.forEach( function( v ) { 95 shortcode += " string" + i + "=\"" + v.replace(/"/g, '"') + "\""; 97 // Replace & with & otherwise the browser freezes. 98 v = v.replace(/"/g, '"'); 99 v = v.replace('&', '&'); // in case the user already used & 100 v = v.replace('&', '&'); 101 shortcode += " string" + i + "=\"" + v + "\""; 96 102 97 103 i++; -
animated-typing-effect/trunk/typingeffect.php
r1743936 r1818855 2 2 /** 3 3 * Plugin Name: Typing Effect 4 * Version: 1. 34 * Version: 1.4 5 5 * Plugin URI: http://93digital.co.uk/ 6 6 * Description: Animated typing effect plugin, allowing you to generate a shortcode that 'types' out words on your page or post. Based on Typed.js by Matt Boldt.
Note: See TracChangeset
for help on using the changeset viewer.