Skip to content

Instantly share code, notes, and snippets.

@psiborg
Created January 6, 2012 08:34
Show Gist options
  • Select an option

  • Save psiborg/1569720 to your computer and use it in GitHub Desktop.

Select an option

Save psiborg/1569720 to your computer and use it in GitHub Desktop.
JS Object Template
/* ===========================================================================
* $Id$
*
* @fileoverview
*
*
* @author Jim Ing (@jim_ing)
* ===========================================================================
*/
/**
* @description
*
*/
app = {
lang: "en",
debug: false
};
/**
* @description
*
*/
app.hello = function (num) {
try {
var arr = ['one', 'two', 'three'];
for (var i = 0, ii = arr.length; i < ii; i++) {
console.debug(arr[i]);
}
}
catch (e) {
console.error(e.description);
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment