Created
December 6, 2016 13:04
-
-
Save wildjcrt/54d1b00b4d3f7448de6fe06a85825327 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 foo = { | |
init: function(){ | |
this.initApple(); | |
this.initBeta('string'); | |
}, | |
initApple: function() { | |
console.log("initApple"); | |
var me = this; | |
me.loadComments(comments); | |
}, | |
initBeta: function(str) { | |
console.log("initBeta"); | |
}, | |
loadComments: function(comments) { | |
console.log(comments); | |
} | |
}; | |
foo.init(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment