Plugin Directory

Changeset 861592


Ignore:
Timestamp:
02/20/2014 01:01:03 PM (12 years ago)
Author:
hintsolutions
Message:

1.9.2

Updated order of the scripts (dependence of probtn.js from jquery.pep.js)

Location:
profit-button/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • profit-button/trunk/probtn.php

    r860962 r861592  
    44 * Plugin URI: http://probtn.com
    55 * Description: Floating Button is an interactive element that used to show custom content inside your application. If the button is tapped then the popup with Browser would open. The url in the Browser is set using settings on our server.
    6  * Version: 1.9.1
     6 * Version: 1.9.2
    77 * Author: hintsolutions
    88 * Author URI: http://probtn.com
     
    5050    wp_enqueue_style( 'probtn-style' );
    5151
    52     wp_register_script( 'probtn-script', 'https://pizzabtn.herokuapp.com/javascripts/probtn.js', array( 'jquery' ));
     52    wp_register_script( 'jquerypep-script', 'https://pizzabtn.herokuapp.com/javascripts/jquery.pep.min.js', array( 'jquery' ));
     53    wp_enqueue_script( 'jquerypep-script' );
     54
     55    $mainStyleCss = parse_url('https://pizzabtn.herokuapp.com/stylesheets/probtn.css');
     56    $jqueryPepPath = parse_url("https://pizzabtn.herokuapp.com/javascripts/jquery.pep.min.js");
     57
     58    wp_register_script( 'probtn-script', 'https://pizzabtn.herokuapp.com/javascripts/probtn.js', array( 'jquery', 'jquerypep-script' ));
    5359    //wp_register_script( 'probtn-script', plugins_url('probtn.js', __FILE__), array( 'jquery' ));
    5460    wp_enqueue_script( 'probtn-script' );
    55 
    56     //wp_register_script( 'jquerypep-script', plugins_url('https://pizzabtn.herokuapp.com/javascripts/jquery.pep.min.js', __FILE__) );
    57     wp_register_script( 'jquerypep-script', 'https://pizzabtn.herokuapp.com/javascripts/jquery.pep.min.js', array( 'jquery' ));
    58     wp_enqueue_script( 'jquerypep-script' );
    59 
    60     $mainStyleCss = parse_url('https://pizzabtn.herokuapp.com/stylesheets/probtn.css');
    61     //$jqueryPepPath = parse_url(plugins_url('libs/jquery.pep.min.js', __FILE__));
    62     $jqueryPepPath = parse_url("https://pizzabtn.herokuapp.com/javascripts/jquery.pep.min.js");
    6361
    6462    $options = get_option( 'probtn_settings' );
  • profit-button/trunk/readme.txt

    r860962 r861592  
    55Requires at least: 3.3
    66Tested up to: 3.5.1
    7 Stable tag: 1.9.1
     7Stable tag: 1.9.2
    88License: Licenced under LGPL
    99License URI: http://opensource.org/licenses/LGPL-3.0
     
    110110Fixed issue - button isn't showing on site which hasn't menu
    111111
     112= 1.9.2 =
     113Updated order of the scripts (dependence of probtn.js from jquery.pep.js)
     114
    112115== Arbitrary section 1 ==
    113116
  • profit-button/trunk/start_probtn.php

    r843791 r861592  
    6262    });
    6363}
    64 
    65 /*
    66 <?php
    67   print_r($_GET);
    68 ?>
    69 */
Note: See TracChangeset for help on using the changeset viewer.