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
// ******************* Scroll to element's position | |
//get parameters are iteration of all objects selected by .selection | |
$(".selection").get(0).scrollIntoView(); | |
// ******************* Check if checkbox is checked | |
$(".checkbox").on("change", function () { | |
if ($(this).is(":checked")) { | |
doSomething(); | |
} else { | |
doSomething(); |
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
//add this to /vendor/laravel/framework/src/Illuminate/Support/helpers.php | |
if (! function_exists('da')) { | |
/** | |
* Dump the passed variables to array and end the script. | |
* | |
* @param mixed | |
* @return void | |
*/ | |
function da() |
NewerOlder