Simple, native JavaScript utility functions without any dependencies. Fast, simple, does the job.
None, zero, zlitch.
| IE | Chrome | Firefox | Opera | Safari | Mobile (BB, Opera, FF, IE, Android) |
|---|
| ;(function() { | |
| 'use strict'; | |
| var PLUGIN_NAME = 'MyPlugin'; | |
| /** | |
| * Constructor | |
| */ | |
| function Constructor(element, options) { | |
| /** |
| /** | |
| * PlumpJS Utility | |
| * Version: 0.1.0 | |
| */ | |
| /* global define: false */ | |
| ;(function(root, factory) { | |
| 'use strict'; |
| #!/bin/bash | |
| set -e | |
| # SETTINGS | |
| dropbox_folder="/Users/James/Dropbox" | |
| # Location of dropbox.py (http://www.dropboxwiki.com/tips-and-tricks/using-the-official-dropbox-command-line-interface-cli) | |
| dropbox_script="~/bin/dropbox.py" | |
| # Array of folders to ignore | |
| ignore_list=['bower_components','node_modules','vendor'] |
| var snow = new SnowJS('snow'); | |
| // Or... | |
| var snow = new SnowJS('snow', { /* Options */ }); |
| <!doctype html> | |
| <html> | |
| <head> | |
| <title>SnowJS</title> | |
| <script src="snow.js"></script> | |
| </head> | |
| <body> | |
| <canvas id="snow"></canvas> | |
| </body> | |
| </html> |