Created
January 6, 2012 08:34
-
-
Save psiborg/1569720 to your computer and use it in GitHub Desktop.
JS Object Template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* =========================================================================== | |
| * $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