Skip to content

Instantly share code, notes, and snippets.

View gcoop's full-sized avatar

Gavin Cooper gcoop

  • Surfline.com
  • Newport Beach, CA
View GitHub Profile
var Application = window.Application || {}; // Creates a namespace called Application.
Application.Config = function () {
var instance = (function () {
var privateVar;
function privateMethod() {
return 'privateMethod';
}
return { // Public interface.
publicMethod: function () {