Created
May 21, 2018 12:41
-
-
Save fedek6/83733e6252aeb72df421e023b6d987a1 to your computer and use it in GitHub Desktop.
jQuery basic bootstrap
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 ($, root, undefined) { | |
/** | |
* Onready – fire when DOM is ready | |
*/ | |
$(function () { | |
'use strict'; | |
// say hello | |
console.log('Hello, Want to hire me? Go to: http://realhe.ro'); | |
// Begin code here... | |
}); | |
/** | |
* Onload – fire when everything si loaded | |
*/ | |
$(window).on("load", function (e) { | |
console.log("INFO: Everything is loaded now."); | |
// Begin code here... | |
} ); | |
})(jQuery, this); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment