Skip to content

Commit

Permalink
Merge pull request #37 from jonataswalker/v2.2.0
Browse files Browse the repository at this point in the history
Release v2.2.0
  • Loading branch information
jonataswalker authored Jun 22, 2016
2 parents 8614c54 + ca93e60 commit c3944c0
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 11 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ language: node_js
node_js:
- "4"

env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8

cache:
bundler: true
directories:
Expand Down
13 changes: 10 additions & 3 deletions build/ol3-contextmenu-debug.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* Custom Context Menu for Openlayers 3
* https://github.com/jonataswalker/ol3-contextmenu
* Version: v2.1.0
* Built: 2016-05-23T15:06:24-0300
* Version: v2.2.0
* Built: 2016-06-22T11:07:55-0300
*/

(function (global, factory) {
Expand Down Expand Up @@ -473,7 +473,7 @@
});
};

Internal.prototype.closeMenu = function closeMenu(){
Internal.prototype.closeMenu = function closeMenu() {
utils.addClass(this.Base.container, namespace + hidden_class);
this.Base.dispatchEvent({
type: eventType.CLOSE
Expand Down Expand Up @@ -693,6 +693,13 @@
utils.removeAllChildren(this.container);
};

/**
* Close the menu programmatically.
*/
Base.prototype.close = function close() {
Base.Internal.closeMenu();
};

/**
* Enable menu
*/
Expand Down
4 changes: 2 additions & 2 deletions build/ol3-contextmenu.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* Custom Context Menu for Openlayers 3
* https://github.com/jonataswalker/ol3-contextmenu
* Version: v2.1.0
* Built: 2016-05-23T15:06:24-0300
* Version: v2.2.0
* Built: 2016-06-22T11:07:55-0300
*/

.ol-ctx-menu-container {
Expand Down
Loading

0 comments on commit c3944c0

Please sign in to comment.