Skip to content

Instantly share code, notes, and snippets.

View nicocedron's full-sized avatar

José Nicolás Cedrón nicocedron

View GitHub Profile
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<title>JQuery a JS</title>
<style>
*,*:before,*:after{
box-sizing: border-box;
margin: 0;
padding: 0;
@nicocedron
nicocedron / laravel_ujs.js
Created December 12, 2019 01:16
Laravel UJS
var matches = (function(doc) {
return doc.matchesSelector ||
doc.webkitMatchesSelector ||
doc.mozMatchesSelector ||
doc.oMatchesSelector ||
doc.msMatchesSelector;
})(document.documentElement);
var matchesSelfOrParent = function (element, selector) {
while (!matches.call(element, selector)) {
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>@yield('title', 'Inicio')</title>
<link href="https://fonts.googleapis.com/css?family=Nunito:200,600,400,800" rel="stylesheet">
<link rel="stylesheet" href="{{ asset('css/app.css') }}">