Skip to content

Commit

Permalink
Merge pull request #2 from StrasWeb/analysis-8QlJjg
Browse files Browse the repository at this point in the history
Applied fixes from StyleCI
  • Loading branch information
Rudloff authored Sep 8, 2016
2 parents f9d0c0b + 5dedeb7 commit 906cd40
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions events-manager-osm.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
<?php
/**
* Use OpenStreetMap in WordPress Events Manager
*
* Use OpenStreetMap in WordPress Events Manager.
*
* PHP Version 5.4
*
*
* @category Plugin
* @package EventsManagerOSM
*
* @author StrasWeb <contact@strasweb.fr>
* @license GPL http://www.gnu.org/licenses/gpl.html
*
* @link https://github.com/StrasWeb/events-manager-osm
*/
/*
Expand All @@ -20,19 +21,17 @@
*/

/**
* Load the JavaScript
*
* Load the JavaScript.
*
* @return void
* */
function loadOSMJS()
{
wp_enqueue_script(
'events-manager-osm',
plugin_dir_url(__FILE__).'/events-manager-osm.js',
array('jquery')
['jquery']
);
}

add_action('wp_head', 'loadOSMJS');

?>

0 comments on commit 906cd40

Please sign in to comment.