Skip to content
This repository

framework-agnostic styled alert system for javascript

branch: master

update minified version

maybe we should bump the version number because there have been a number of new improvements (thanks andrei). i might get around to updating the docs soon.
latest commit a0cce74f3d
jonathan youngblood jyoungblood authored February 03, 2014
Octocat-spinner-32 bower.json Adding manifest JSON for bower November 13, 2013
Octocat-spinner-32 readme.md jy --> hxgf June 22, 2013
Octocat-spinner-32 smoke.css oops guess that needs to be centered May 23, 2013
Octocat-spinner-32 smoke.js Merge pull request #45 from nordligulv/patch-2 February 03, 2014
Octocat-spinner-32 smoke.min.js update minified version February 03, 2014
readme.md

SMOKE.JS - 0.1.3

Notify or get approval from your users quickly and with style. This alert system uses css animations and background (so there are no images or js animation code...so it's really lightweight).

It's trivial to implement and really easy to change the style.

Take a look at the demo: http://smoke-js.com/

Also, we've made some cool themes for you: http://github.com/hxgf/smoke-themes/

New in 0.1.3

Supported Browsers

  • Chrome
  • Firefox
  • Safari
  • IE 6+ (usable, no animation [who cares], visual IE6 support [transparencies, etc] is up to you)
  • iOS Mobile Safari

(widespread mobile support [android, blackberry, windows] uncertain (I mean, it probably works, but I can't really say that))

Current User Notices

  • If you're using custom themes, you might want to check yourself. The markup/structure hasn't changed, but the base styles are different from the way they've always been, so just think about that for a while.
  • .alert()'s callback/function order is changed to be consistent with the other methods. http://smoke-js.com/ for the correct order.

Bugs/Contributing

  • If you find a bug or have a cool idea for a feature, fork this repo and add a pull request. Your changes will probably get added as long as they're legit.
  • If you've made any cool themes, add them to http://github.com/hxgf/smoke-themes/

Planned Updates

  • Stop all the click/esc/enter listeners once a dialog is closed.
  • Helpful code comments.
  • This thing used to pass JSLint, but it doesn't now. Whatever...

Thanks Dudes

  • Hugo Diaz
  • Michal Zielenkiewicz
  • Leon Fedotov
  • Lautaro Orazi
  • Leonardo Souza
  • Carlos Brito Lage

License

(MIT License)

Copyright (c) 2011-2013 Jonathan Youngblood <jonathan.youngblood@gmail.com>

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.

Something went wrong with that request. Please try again.