Skip to content

Instantly share code, notes, and snippets.

View PunchRockgroin's full-sized avatar

David Alberts PunchRockgroin

  • Many, many companies
  • Loveland, Colorado
View GitHub Profile
@PunchRockgroin
PunchRockgroin / my_module.exclude_from_update_list.inc
Created July 17, 2013 15:05
Prevent Update for custom modules
<?php
/**
* @file
* <my_module>.exclude_from_update_list.inc
*/
/**
* Implements hook_update_projects_alter().
*/
@PunchRockgroin
PunchRockgroin / app.js
Last active December 17, 2015 13:29
Example of working jQuery/Gumby Framework with Require.js, after replacing define(window.Gumby) with define('Gumby') in gumby.min.js
/*global define */
define(['jquery','gumby'], function () {
'use strict';
console.log('jQuery ' + $().jquery); // jQuery 1.9.1
console.log('Gumby is ready to go...', Gumby.debug()); //Gumby is ready to go... Object { $dom={...}, isOldie=false, uiModules={...}, more...}
});