Skip to content

Instantly share code, notes, and snippets.

View gregnostic's full-sized avatar

Greg Hines gregnostic

View GitHub Profile

Keybase proof

I hereby claim:

  • I am gregnostic on github.
  • I am gregnostic (https://keybase.io/gregnostic) on keybase.
  • I have a public key whose fingerprint is 5D62 9CAE F74D 5DB8 9B26 5E14 BA38 8008 841D B93E

To claim this, I am signing this object:

@gregnostic
gregnostic / javascript-and-drupal.js
Last active August 29, 2015 14:02
JavaScript in Drupal
/**
* @file
* Always start with a brief, one-line description of the script.
*
* If more than one line is needed to describe the script, provide more detailed
* comment text following a blank comment line.
*/
// Use an IIFE (immediately invoked function expression) to encapsulate your
// script from other scripts loaded on the page and to prevent pollution of the
// global namespace.