Plugin Directory

Changeset 1335751


Ignore:
Timestamp:
01/25/2016 06:13:19 PM (10 years ago)
Author:
zonnix
Message:

push version 1.1.3

Location:
typed/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • typed/trunk/js/admin.js

    r1335209 r1335751  
    1818    //typed admin perview
    1919    if (jQuery('.typed_perview_div').length > 0) {
    20         var strings = jQuery('.typed_perview_div').attr('data-strings').split(',');
     20        var strings = jQuery('.typed_perview_div').attr('data-strings').split(';#$#;');
    2121        var speed = jQuery('.typed_perview_div').attr('data-speed');
    2222        var delay = jQuery('.typed_perview_div').attr('data-delay');
  • typed/trunk/js/frontend.js

    r1335209 r1335751  
    11jQuery(document).ready(function (jQuery) {
    22    jQuery('.typed_perview_div').each(function () {
    3         var strings = jQuery(this).attr('data-strings').split(',');
     3        var strings = jQuery(this).attr('data-strings').split(';#$#;');
    44        var speed = jQuery(this).attr('data-speed');
    55        var delay = jQuery(this).attr('data-delay');
  • typed/trunk/readme.txt

    r1335337 r1335751  
    5353= 1.1.2 =
    5454* Fixing issue warning on foreach strings.
     55
     56= 1.1.3 =
     57* Fixing bug of comma in the string make it new one.
  • typed/trunk/typed.php

    r1335337 r1335751  
    33  Plugin Name: Typed
    44  Description: Typed Plugin created based on "typed.js" a jQuery plugin that types. Enter in any string, and watch it type at the speed you've set, backspace what it's typed, and begin a new sentence for however many strings you've set.
    5   Version: 1.1.2
     5  Version: 1.1.3
    66  Author: zonnix
    77  Author URI: http://zonnix.net
     
    8383            $strings = '';
    8484            foreach ($typed_strings as $string) {
    85                 $strings .= $string . ',';
    86             }
    87             $strings = trim($strings, ',');
     85                $strings .= $string . ';#$#;';
     86            }
     87            $strings = trim($strings, ';#$#;');
    8888            $font_size = get_post_meta($post_id, 'font_size', true);
    8989            $font_type = get_post_meta($post_id, 'font_type', true);
     
    403403                    $strings = '';
    404404                    foreach ($typed_strings as $string) {
    405                         $strings .= $string . ',';
     405                        $strings .= $string . ';#$#;';
    406406                    }
    407                     $strings = trim($strings, ',');
     407                    $strings = trim($strings, ';#$#;');
    408408                    ?>
    409409                    <style>
Note: See TracChangeset for help on using the changeset viewer.