Fix errors in source code for stcikem

This commit is contained in:
David Paz
2018-02-09 22:05:00 +01:00
parent b38c81550b
commit 53db5de738
2 changed files with 3 additions and 3 deletions

View File

@@ -40,12 +40,12 @@ interface StickemSettings {
/**
* Callback to execute when in stick state
*/
onStick?: Function,
onStick?: () => void;
/**
* Callback to execute when getting out of stick state
*/
onUnstick?: Function
onUnstick?: () => void;
}
interface JQuery {

View File

@@ -16,4 +16,4 @@ jQuery('div').stickem({
container: '.stickem-container',
stickClass: 'stickit',
endStickClass: 'stickit-end'
});
});