Skip to content

Commit

Permalink
Revamping the base to use grunt so the project is a little easier to …
Browse files Browse the repository at this point in the history
…maintain. See CONTRIBUTING.md for updated instructions.

1. Switched to using Grunt to build source code. JS files in `./dist` are now generated from `./src` folder.

2. Moved source files to `./src` folder

3. Renamed `./samples` to `./examples`

4. Renamed `./jqvmap` to `./dist`

5. Removed `./website` folder as it is not really needed in this project

6. Updated `README.md` & `CONTRIBUTING.md` files
  • Loading branch information
manifestinteractive committed Nov 18, 2015
1 parent a510313 commit 74f9360
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dist/jquery.vmap.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ var WorldMap = function (params) {
var code = regionClickEvent.target.id.split('_').pop();
var mapClickEvent = jQuery.Event('regionClick.jqvmap');

if ( !mapClickEvent.defaultPrevented) {
jQuery(params.container).trigger(mapClickEvent, [code, mapData.pathes[code].name]);
jQuery(params.container).trigger(mapClickEvent, [code, mapData.pathes[code].name]);
if ( !mapClickEvent.isDefaultPrevented()) {
if (map.isSelected(code)) {
map.deselect(code, targetPath);
} else {
Expand Down
Loading

0 comments on commit 74f9360

Please sign in to comment.