Changeset 1822045
- Timestamp:
- 02/14/2018 02:09:14 PM (8 years ago)
- Location:
- animated-typing-effect
- Files:
-
- 5 edited
- 1 copied
-
tags/1.2 (copied) (copied from animated-typing-effect/trunk)
-
tags/1.2/README.txt (modified) (1 diff)
-
tags/1.2/assets/js/typed.admin.js (modified) (2 diffs)
-
tags/1.2/assets/js/typed.fe.js (modified) (1 diff)
-
trunk/assets/js/typed.fe.js (modified) (1 diff)
-
trunk/typingeffect.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
animated-typing-effect/tags/1.2/README.txt
r1743936 r1822045 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/tags/1.2/assets/js/typed.admin.js
r1743934 r1822045 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/tags/1.2/assets/js/typed.fe.js
r1743934 r1822045 5 5 for( var key in this.dataset ) { 6 6 if( key.substr( 0, 6 ) == "string" ) { 7 strings.push( this.dataset[ key ].replace( /"/g, '"' ) ); 7 var v = this.dataset[ key ].replace( /"/g, '"' ); 8 // Replace & with & otherwise the browser freezes. 9 v = v.replace(/"/g, '"'); 10 v = v.replace('&', '&'); // in case the user already used & 11 v = v.replace('&', '&'); 12 13 strings.push( v ); 8 14 } else { 9 15 options[ key ] = parseInt( this.dataset[ key ] ); -
animated-typing-effect/trunk/assets/js/typed.fe.js
r1743934 r1822045 5 5 for( var key in this.dataset ) { 6 6 if( key.substr( 0, 6 ) == "string" ) { 7 strings.push( this.dataset[ key ].replace( /"/g, '"' ) ); 7 var v = this.dataset[ key ].replace( /"/g, '"' ); 8 // Replace & with & otherwise the browser freezes. 9 v = v.replace(/"/g, '"'); 10 v = v.replace('&', '&'); // in case the user already used & 11 v = v.replace('&', '&'); 12 13 strings.push( v ); 8 14 } else { 9 15 options[ key ] = parseInt( this.dataset[ key ] ); -
animated-typing-effect/trunk/typingeffect.php
r1818855 r1822045 2 2 /** 3 3 * Plugin Name: Typing Effect 4 * Version: 1. 44 * Version: 1.3 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.