I hereby claim:
- I am pawel-piskorz on github.
- I am pawelpiskorz (https://keybase.io/pawelpiskorz) on keybase.
- I have a public key ASChl6l2GBAL2DysQ-K2AB-NGz0TclNgPweKJjM_iCI6WAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/* | |
* Selectize plugin that allows user to remove | |
* selected option by clicking on it in the dropdown | |
* | |
* author: pawel@arabel.la | |
* ver: 0.2 | |
* | |
* changelog: | |
* 0.2 | |
* - clearing cache on item_remove event, not only when element in dropdown clicked |
(function(){ | |
var getPartialFor = curry(function(partialSelector, content){ | |
var $content = $(content); | |
var $partial = $content.find(partialSelector); | |
return $partial; | |
}); | |
var replaceContentFor = curry(function(parent, content){ | |
$(parent).html(content); |
// Sticky Plugin v1.0.1 for jQuery | |
// ============= | |
// Author: Anthony Garand | |
// Improvements by German M. Bravo (Kronuz) and Ruud Kamphuis (ruudk) | |
// Improvements by Leonardo C. Daronco (daronco) | |
// Improvements by Paweł Piskorz (PablO) | |
// Created: 2/14/2011 | |
// Date: 2/12/2012 | |
// Website: http://labs.anthonygarand.com/sticky | |
// Description: Makes an element on the page stick on the screen as you scroll |