Changeset 970078
- Timestamp:
- 08/21/2014 08:45:56 PM (12 years ago)
- Location:
- wp-responsive-media/trunk
- Files:
-
- 4 added
- 3 edited
-
includes/class-wp-responsive-media.php (modified) (2 diffs)
-
js (added)
-
js/classList.js (added)
-
js/frontend.js (added)
-
js/picturefill.min.js (added)
-
readme.txt (modified) (1 diff)
-
wp-responsive-media.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-responsive-media/trunk/includes/class-wp-responsive-media.php
r969980 r970078 91 91 $this->dir = dirname( $this->file ); 92 92 $this->assets_dir = trailingslashit( $this->dir ) . 'assets'; 93 $this->assets_url = esc_url( trailingslashit( plugins_url( '/ assets/', $this->file ) ) );93 $this->assets_url = esc_url( trailingslashit( plugins_url( '/js/', $this->file ) ) ); 94 94 95 95 register_activation_hook( $this->file, array( $this, 'install' ) ); … … 155 155 */ 156 156 public function enqueue_scripts () { 157 wp_register_script( $this->_token . '-classList', esc_url( $this->assets_url ) . ' js/classList' . '.js', array(), $this->_version, true );157 wp_register_script( $this->_token . '-classList', esc_url( $this->assets_url ) . 'classList' . '.js', array(), $this->_version, true ); 158 158 wp_enqueue_script( $this->_token . '-classList' ); 159 159 160 wp_register_script( $this->_token . '-picturefill.min', esc_url( $this->assets_url ) . ' js/picturefill.min' . '.js', array(), $this->_version, true );160 wp_register_script( $this->_token . '-picturefill.min', esc_url( $this->assets_url ) . 'picturefill.min' . '.js', array(), $this->_version, true ); 161 161 wp_enqueue_script( $this->_token . '-picturefill.min' ); 162 162 163 wp_register_script( $this->_token . '-frontend', esc_url( $this->assets_url ) . ' js/frontend' . '.js', array(), $this->_version, true );163 wp_register_script( $this->_token . '-frontend', esc_url( $this->assets_url ) . 'frontend' . '.js', array(), $this->_version, true ); 164 164 wp_enqueue_script( $this->_token . '-frontend' ); 165 165 } // End enqueue_scripts () -
wp-responsive-media/trunk/readme.txt
r970046 r970078 5 5 Requires at least: 3.9 6 6 Tested up to: 3.9.1 7 Stable tag: 1.0. 17 Stable tag: 1.0.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
wp-responsive-media/trunk/wp-responsive-media.php
r970046 r970078 2 2 /* 3 3 * Plugin Name: WP Responsive Media 4 * Version: 1.0. 14 * Version: 1.0.2 5 5 * Plugin URI: http://www.randyjensen.com/ 6 6 * Description: Seamless responsive media for WordPress … … 30 30 */ 31 31 function WP_Responsive_Media () { 32 $instance = WP_Responsive_Media::instance( __FILE__, '1.0. 1' );32 $instance = WP_Responsive_Media::instance( __FILE__, '1.0.2' ); 33 33 34 34 return $instance;
Note: See TracChangeset
for help on using the changeset viewer.