Skip to content

Commit

Permalink
README typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dandv committed Dec 4, 2014
1 parent ff9320d commit f24df5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,15 +227,15 @@ Sortable.create(el, {
/**
* Get the order of elements. Called once during initialization.
* @param {Sortable} sortable
* @retruns {Array}
* @returns {Array}
*/
get: function (sortable) {
var order = localStorage.getItem(sortable.options.group);
return order ? order.split('|') : [];
},

/**
* Save the order of elements. Called every time at the drag end.
* Save the order of elements. Called onEnd (when the item is dropped).
* @param {Sortable} sortable
*/
set: function (sortable) {
Expand Down

0 comments on commit f24df5c

Please sign in to comment.