Skip to content

Instantly share code, notes, and snippets.

@zimkies
zimkies / gist:6107099
Created July 29, 2013 19:37
Sublime Preferences
{
"font_size": 10.0,
"ignored_packages":
[
],
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true
}
@zimkies
zimkies / bootstrap_hide_show.coffee
Last active March 23, 2016 20:39
MonkeyPatch for Jquery hide() and show() to work with Bootstrap 3
# MonkeyPatch for Jquery hide() and show() to work with Bootstrap 3
#
# Bootstrap 3 defines hidden and hide with the !important marker which
# prevents .show() and .hide() from working on elements that have been
# hidden using these classes.
# This patch modifies the hide and show to simply add and remove these
(($) ->
show = $.fn.show
$.fn.show = ->
@removeClass("hidden hide")