Created
August 11, 2013 02:41
-
-
Save sunilw/6203141 to your computer and use it in GitHub Desktop.
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 myApp = (function (){ | |
myProps = { | |
foo : function (){ | |
console.log("foo"); | |
}, | |
bar : function (){ | |
console.log("bar"); | |
} | |
} ; | |
return this.myProps ; | |
console.log('myApp initiated'); | |
})() ; | |
function line () { | |
console.log("--------------"); | |
} | |
$(document).ready(function() { | |
line() ; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment