Skip to content

Commit

Permalink
Add semicolons to static methods
Browse files Browse the repository at this point in the history
  • Loading branch information
darsain committed Aug 8, 2015
1 parent 38e8c5f commit 99b4d1d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

**1.6.1** :: *8th Aug 2015*

- Improved instance clearing and method calls when called via jQuery proxy.
- Made `new` keyword in `new Sly()` optional.

**1.6.0** :: *17th Jul 2015*

- Implemented dragging threshold - distance in pixels before Sly recognizes dragging.
Expand Down
6 changes: 3 additions & 3 deletions src/sly.js
Original file line number Diff line number Diff line change
Expand Up @@ -1913,15 +1913,15 @@

Sly.getInstance = function (element) {
return $.data(element, namespace);
}
};

Sly.storeInstance = function (element, sly) {
return $.data(element, namespace, sly);
}
};

Sly.removeInstance = function (element) {
return $.removeData(element, namespace);
}
};

/**
* Return type of the value.
Expand Down

0 comments on commit 99b4d1d

Please sign in to comment.