Created
October 21, 2015 00:59
-
-
Save jparbros/84762811bad862f6508c 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
| (function($){ | |
| var variable1= bla bla bla; | |
| function init() { | |
| otraFunciton(); | |
| } | |
| function otraFunciton() { | |
| variable1 | |
| } | |
| $(init); | |
| })(jQuery); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(function($){
var variable1='puto',
that = this;
function init() {
otraFunciton();
}
function otraFunciton() {
var y=variable1
alert(y)
}
init();
})();