Skip to content

mgeraci/Coffee-Filter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Coffee Filter

Coffee Filter is a collection of coffeescript helpers I've used across projects. Check out the demo page!

It includes:

  • hover tags for showing notes on an element (e.g., a username when hovering over an avatar)
  • placeholder text for browsers that don't support the html5 spec
  • textarea autoexpand when typing large blocks of text
  • fill a square with an image of arbitrary dimensions
  • position an image of arbitrary dimensions in a square
  • saving and default states for buttons/links when using ajax
  • autolink urls in a block of text (great for comments!)
  • set a custom tabindex on an array of items
  • outerHTML()
  • a check to see if keyboard shortcuts should be enabled (if not ie8 or typing in a field)

Thanks

Special thanks to Reachably, the company at which I wrote most of these. Check out their website and github.

License

The MIT License (MIT) Copyright (c) 2012 Michael P. Geraci

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A collection of coffeescript helpers that I've used across projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published