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
<?php namespace App\Http\Middleware; | |
use Illuminate\Http\Response; | |
use Closure; | |
class Minify { | |
/** | |
* Handle an incoming request. | |
* |
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 a(a,b){return Array(b).join(a)}var d="A",e="V",f="//qQwF+rAAAAAAGkGAAAAAAANIOAAABMQU1FMy45M1",g="UxBTUUzLjkz",h="//qSwOafxQPAAAGkAAAAAAAANIAAAAB",i="MQU1FMy45M1",j="f/6ksD63v+DwAABpAAAAAAAADSAAAAA",k="TEFNRTMuOTN",l="X/+pLA+t7/g8AAAaQAAAAAAAA0gAAAAF",m="//qSwPre/4PAAAGkAAAAAAAANIAAAAB",n="U=",o=a(d,143),p=a(d,372),q=a(e,360),r=a(d,527),s=p+"V"+i+o+"V"+j,t=p+"V"+k+o+"V"+l+p+g+o+"VV"+m,u=s+t,src=["data:audio/mp3;base64,","SUQzBAAAAAABBFRDT1AAAAABAAADVExBTgAAAAEAAANUUFVCAAAAAQAAAw",o,f,q,g,o+"VV",h,u,u,u,u,u,u,s,r,n].join(""); |
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
<a href="http://causeyoucantyouwontandyoudontstop.com/" class="kick-it">Kick it!</a> |
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
Modernizr.addTest("touch", function () { | |
var e; | |
if ("ontouchstart" in window || Modernizr.prefixed("MaxTouchPoints", navigator) > 1 || window.DocumentTouch && document instanceof DocumentTouch) { | |
e = true | |
} else { | |
var t = ["@media (", Modernizr._prefixes.join("touch-enabled),("), "heartz", ")", "{#modernizr{top:9px;position:absolute}}"].join(""); | |
Modernizr.testStyles(t, function (t) { | |
e = t.offsetTop === 9 | |
}) | |
} |
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
Modernizr.addTest('hls', function() { | |
var a = navigator.userAgent, | |
b = document.createElement('video'); | |
if (a.match(/iPhone|iPod|iPad/)) { | |
return true | |
} | |
try { |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Trigger fullscreen HTML5 video on iPad</title> | |
<style> | |
#video { height: 1px; opacity: 0; position: absolute; width: 1px; } | |
#play { width: 100px; } | |
</style> | |
</head> | |
<body> |