Last active
August 29, 2015 14:07
-
-
Save r4fx/765e3efdb92e5b745c54 to your computer and use it in GitHub Desktop.
plugin destroy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// jak przygotowac metode: http://jsfiddle.net/rafx/rtmtkqto/ | |
// http://stackoverflow.com/questions/3502468/unbind-remove-kill-a-jquery-plugin | |
// przyklad na pluginie Stellar: | |
// http://stackoverflow.com/questions/12236631/can-stellar-js-readjust-element-offsets-on-window-resize | |
$(window).data('plugin_stellar').destroy(); | |
$(window).data('plugin_stellar').init(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment