Skip to content

Instantly share code, notes, and snippets.

@jennschiffer
Created October 13, 2015 16:06
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jennschiffer/39751c7d579106dc6a69 to your computer and use it in GitHub Desktop.
Save jennschiffer/39751c7d579106dc6a69 to your computer and use it in GitHub Desktop.
the best image carousel plugin, requires jquery
@jasonrhodes
Copy link

PR: added tests

it("shouldn't try to add image carousels to things in 2015", function () {
  expect("dudes in this comment thread").to.argue.about("the 'IIFE' acronym");
});

@syropian
Copy link

Pls include license

@rmccue
Copy link

rmccue commented Oct 14, 2015

Since you're not setting any variables, you're actually better off not using IIFE, and instead doing the following:

var_dump('You do not need an image carousel.');

(I moved the code to server-side execution for Performance™)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment