Created
October 6, 2015 02:53
-
-
Save DevelopIntelligenceBoulder/c7aeed657b4b32897b2e to your computer and use it in GitHub Desktop.
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
// this is how to write code in IFFE format and wait for the DOM to load to call certain functions | |
(function() { | |
'use strict'; | |
function function1() { | |
} | |
function function2() { | |
} | |
function function3(param1, param2, param3, param4) { | |
} | |
function functionName() { | |
} | |
//Runs after the DOM is loaded | |
$(function() { | |
functionCall(); | |
functionCall2(); | |
}); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment