This file contains 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
// mynamespace is an object to use as a namespace | |
mynamespace = (function() { | |
// Variables in the namespace | |
var mynamespace = { | |
foo: "Yes, this is foo." | |
}; | |
// "Public" methods for the namespace | |
mynamespace.fooTwo = function() { |