Skip to content

Instantly share code, notes, and snippets.

View zetlen's full-sized avatar

James Zetlen zetlen

View GitHub Profile
$(window).bind("load resize scroll",function(){
windowWidth2 = jQuery(window).width();
var maxInRow = [];
if (windowWidth2 > 767)
{
maxInRow.length = 0;
maxInRow.push(12);
@zetlen
zetlen / program.js
Last active August 29, 2015 14:02 — forked from morenoh149/program.js
// problem 05 every some
/*
Return a function that takes a list of valid users, and returns a function that returns true
if all of the supplied users exist in the original list of users.
You only need to check that the ids match.
## Example
var goodUsers = [