Created
November 24, 2009 12:07
-
-
Save marciobarrios/241826 to your computer and use it in GitHub Desktop.
organizacion basica de aplicacion js
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
var APP = function() { | |
var private_var; | |
function private_method() { | |
// do stuff here | |
} | |
return { | |
method_1 : function() { | |
// do stuff here | |
}, | |
method_2 : function() { | |
// do stuff here | |
} | |
}; | |
}(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment