Skip to content

Instantly share code, notes, and snippets.

View bzalasky's full-sized avatar

Benjamin Zalasky bzalasky

  • Chesterfield, MO
View GitHub Profile
Compiling no file at Fri Jan 13 11:06:51 2017
Warning (bytecomp): package-tar-file-info called with 1 argument, but accepts only 0
Warning (bytecomp): the function ‘package-desc-from-legacy’ is not known to be defined.
Warning (bytecomp): reference to free variable ‘lst’
Warning (bytecomp): ‘goto-line’ is for interactive use only; use ‘forward-line’ instead.
Warning (bytecomp): reference to free variable ‘clean-aindent--last-indent’ [2 times]
Warning (bytecomp): reference to free variable ‘clean-aindent--last-indent-len’
Warning (bytecomp): reference to free variable ‘clean-aindent--last-indent’ [2 times]
Warning (bytecomp): assignment to free variable ‘clean-aindent--last-indent’
Warning (bytecomp): cl package required at runtime
@bzalasky
bzalasky / carousel.js
Last active December 14, 2015 15:18
This is a simple jQuery carousel plugin. In this context, I'm using it to illustrate how to write a jQuery plugin.
@bzalasky
bzalasky / gist:3881635
Created October 12, 2012 21:30
click .icons-close-x
describe("click .icons-close-x", function () {
backboneHistorySpy();
beforeEach( function () {
this.closeModalSpy = sinon.spy(StippleApp.Views.PhotoDetailHeader, 'closeModal');
this.view = new StippleApp.Views.PhotoDetailHeader({ model: this.model, modal: true, activeTab: 'engagement' });
this.view.render();
this.view.$(".icons-close-x").click();
});