Skip to content

Commit

Permalink
Bump release
Browse files Browse the repository at this point in the history
  • Loading branch information
Mobius1 committed Oct 12, 2023
1 parent fd6a19f commit 70fb3ba
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 51 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "selectable.js",
"version": "0.21.1",
"version": "0.22.0",
"ignore": [
".gitattributes",
"README.md"
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "selectable.js",
"version": "0.21.1",
"version": "0.22.0",
"description": "UI Selectable plugin without the bloat of jQuery and jQuery UI.",
"main": "selectable.min.js",
"scripts": {
Expand Down
20 changes: 18 additions & 2 deletions selectable.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Copyright (c) 2017 Karl Saunders (Mobius1)
* Licensed under MIT (http://www.opensource.org/licenses/mit-license.php)
*
* Version: 0.21.1
* Version: 0.22.0
*
*/
(function(root, factory) {
Expand Down Expand Up @@ -52,7 +52,7 @@

/* SELECTABLE */
var Selectable = function(options) {
this.version = "0.21.1";
this.version = "0.22.0";
this.v = this.version.split(".").map(function(s) {
return parseInt(s, 10)
});
Expand Down Expand Up @@ -924,6 +924,22 @@
}
},

/**
* Undo selection
* @return {Void}
*/
undo: function() {
this.state('undo');
},

/**
* Redo selection
* @return {Void}
*/
redo: function() {
this.state('redo');
},

/**
* Enable instance
* @return {Boolean}
Expand Down
Loading

0 comments on commit 70fb3ba

Please sign in to comment.