Skip to content

Instantly share code, notes, and snippets.

View seanzx85's full-sized avatar

Sean Cady seanzx85

  • Affirm
  • Connecticut, USA
View GitHub Profile
@seanzx85
seanzx85 / promise-test.js
Last active August 29, 2015 14:15
Q Promise Recursion - NodeJS
/**
*
*/
'use strict';
var q = require('q');
var start = 5;
//Time delayed function
function checkA() {
console.log('Call Check A');
@seanzx85
seanzx85 / navbar.js
Last active August 29, 2015 13:57
Gumby Framework mobile navigation in AngularJS
//Wrapped for requireJS
define([
'angular'
], function (angular) {
angular.module('Gumby', [])
/**
* Controller is used to map the factory functions to the scope
*/
.controller('GumbyNavbarCtrl', ['$scope', 'gumbyNavbarState', function ($scope, NavbarState) {
$scope.isActive = NavbarState.isActive;