Skip to content

Instantly share code, notes, and snippets.

@grobertson
Created May 7, 2013 03:37
Show Gist options
  • Save grobertson/5530091 to your computer and use it in GitHub Desktop.
Save grobertson/5530091 to your computer and use it in GitHub Desktop.
/*
*/
/* A namespaced javascript snippet */
var fg = fg || {};
fg.r = fg.r || {};
fg.r.component = fg.r.component || {};
fg.r.component = (function() {
return {
methodNameOne: function(data) {
if (data) {
};
},
methodNameTwo: function(data) {
if (data) {
};
}
}
}());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment