npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

gritter

v1.7.4

Published

A small growl-like notification plugin for jQuery

Downloads

6,234

Readme

Gritter for jQuery

A small growl-like notification plugin for jQuery

  • http://boedesign.com/blog/2009/07/11/growl-for-jquery-gritter/

Installation

$ bower install jquery.gritter

Change Log

Changes in 1.7.4 (February 24, 2012)

  • Fixing bug where click event was being bound multiple times on hover. The result was the beforeClose callback being called multiple times. Thanks for commit aossowski!

Changes in 1.7.3 (December 8, 2011)

  • Added $.gritter.options.class_name option
  • Added 'gritter-light' class_name option to use light messages instead of dark ones

Changes in 1.7.2 (December 2, 2011)

  • Added option to return false on "before_open" callback to determine whether or not to show the gritter message (good for setting a max)

Changes in 1.7.1 (March 29, 2011)

  • Dropped IE6 support
  • Added position option to global options (bottom-left, top-left, top-right, bottom-right)

Changes in 1.7 (March 25, 2011)

  • Fixed 404 issue in the css when fetching '.' as an image
  • Added callback parameter in before_close and after_close callbacks to determine whether it was closed manually by clicking the (X)

Changes in 1.6 (December1, 2009)

  • Commented code using JSDOC
  • Major code cleanup/re-write
  • Made it so when you hit the (X) close button, the notification slides up and vanishes instead of just vanishing
  • Added optional "class_name" option for $.gritter.add() to apply a class to a specific notification
  • Fixed IE7 issue pointed out by stoffel (http://boedesign.com/blog/2009/07/11/growl-for-jquery-gritter/)

Changes in 1.5 (October 21, 2009)

  • Renamed the global option parameters to make more sense
  • Made it so the global options are only being ran once instead of each $.gritter.add() call

Changes in 1.4 (October 20, 2009)

  • Added callbacks (before_open, before_close, after_open, after_close) to the gritter notifications
  • Added callbacks (before_close, after_close) to the removeAll() function
  • Using 1 image for the CSS instead of 5 (Thanks to Ozum Eldogan)
  • Added option to over-ride gritter global options with $.extend

Changes in 1.3 (August 1, 2009)

  • Fixed IE6 positioning bug

Changes in 1.2 (July 13, 2009)

  • Fixed hover bug (pointed out by Beel & tXptr on the comments)