Compare commits
13 Commits
new-jquery
...
v1.0.0
Author | SHA1 | Date | |
---|---|---|---|
21cecab368 | |||
336f7ab4f8 | |||
c61dc82574 | |||
539483ad42 | |||
c67a812614 | |||
5df6e992cb | |||
2cf7294ce0 | |||
4fbc2a6c39 | |||
2123cb9f75 | |||
c7a42cdc88 | |||
533ec3a867 | |||
274f7014f7 | |||
a1b2b894ed |
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,4 +1,3 @@
|
||||
|
||||
node_modules/
|
||||
|
||||
dist/
|
||||
dist/
|
11
gulpfile.js
11
gulpfile.js
@ -116,7 +116,6 @@ var jsTasks = lazypipe()
|
||||
.pipe(optimizejs)
|
||||
//.pipe(rename, {suffix: '.min'})
|
||||
.pipe(uglify)
|
||||
.pipe(optimizejs)
|
||||
.pipe(header, banner.main, {package: package})
|
||||
.pipe(dest, paths.scripts.output);
|
||||
|
||||
@ -244,13 +243,19 @@ var updateAssetVersion = function (done) {
|
||||
.pipe(dest(paths.output));
|
||||
};
|
||||
// updates version in SW
|
||||
var swTasks = lazypipe()
|
||||
.pipe(optimizejs)
|
||||
.pipe(uglify)
|
||||
.pipe(header, banner.main, {package: package})
|
||||
.pipe(dest, paths.output);
|
||||
|
||||
var buildSW = function (done) {
|
||||
return src('src/sw.js')
|
||||
.pipe(hashsrc({build_dir:paths.output,src_path:"src",hash_len:"6",query_name:"v",exts:[".json",".webp",".jpg",".css",".png",".ico",".js"],
|
||||
regex:/\s*(?:(")([^"]*)|(')([^']*))/ig,
|
||||
analyze: function analyze(match){return {prefix: "'",link:match[4],suffix: ''};}
|
||||
}))
|
||||
.pipe(jsTasks())
|
||||
.pipe(swTasks())
|
||||
.pipe(dest(paths.output));
|
||||
};
|
||||
// Watch for changes to the src directory
|
||||
@ -310,4 +315,4 @@ exports.watch = series(
|
||||
exports.default,
|
||||
//startServer,
|
||||
watchSource
|
||||
);
|
||||
);
|
||||
|
@ -11,14 +11,13 @@
|
||||
<meta HTTP-EQUIV="CACHE-CONTROL" CONTENT="public">
|
||||
<link rel="canonical" href="https://meritkollen.se/Kontakt">
|
||||
|
||||
<link rel='preload' async href='/img/background85.webp' as='image' type='image/webp'>
|
||||
<link rel='preconnect' href='https://cdnjs.cloudflare.com' crossorigin>
|
||||
<link rel='preconnect' href='https://pagead2.googlesyndication.com' crossorigin>
|
||||
<script async src="/js/modernizer-webp.js"></script>
|
||||
<link rel="stylesheet" async href="/css/main.css">
|
||||
<link rel='preload' async href='/img/background85.webp' as='image' type='image/webp'>
|
||||
<link disabled class="lateLoader" rel='stylesheet' defer href='https://fonts.googleapis.com/icon?family=Material+Icons'>
|
||||
<link rel="stylesheet" defer href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/css/materialize.min.css">
|
||||
<script data-ad-client="ca-pub-5143923140938916" defer src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
||||
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
@ -45,6 +44,7 @@
|
||||
<meta name="theme-color" content="#27233a">
|
||||
|
||||
|
||||
<script data-ad-client="ca-pub-5143923140938916" defer src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
Before Width: | Height: | Size: 5.9 MiB After Width: | Height: | Size: 5.9 MiB |
Binary file not shown.
Before Width: | Height: | Size: 3.7 MiB |
Binary file not shown.
Before Width: | Height: | Size: 10 KiB |
BIN
src/img/tips.jpg
BIN
src/img/tips.jpg
Binary file not shown.
Before Width: | Height: | Size: 32 KiB |
Binary file not shown.
Before Width: | Height: | Size: 14 KiB |
@ -17,13 +17,12 @@ echo '
|
||||
<meta property="og:description" content="Beräkna ditt gymnasie meritvärde inför univeritet eller högskola">
|
||||
<meta name="title" content="Räkna ut ditt meritvärde">
|
||||
|
||||
<link rel="preload" async href="/img/background85.webp" as="image" type="image/webp">
|
||||
<link rel="preconnect" href="https://cdnjs.cloudflare.com" crossorigin>
|
||||
<link rel="preconnect" href="https://pagead2.googlesyndication.com" crossorigin>
|
||||
<script async src="/js/modernizer-webp.js"></script>
|
||||
<link rel="preload" async href="/img/background85.webp" as="image" type="image/webp">
|
||||
<link disabled class="lateLoader" rel="stylesheet" defer href="https://fonts.googleapis.com/icon?family=Material+Icons">
|
||||
<link rel="stylesheet" defer href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/css/materialize.min.css">
|
||||
<script data-ad-client="ca-pub-5143923140938916" defer src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
||||
<link rel="stylesheet" async href="/css/main.css">
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
@ -50,4 +49,5 @@ echo '
|
||||
<meta name="theme-color" content="#27233a">
|
||||
|
||||
|
||||
<script data-ad-client="ca-pub-5143923140938916" defer src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
||||
';
|
||||
|
@ -19,13 +19,12 @@
|
||||
<meta property="og:description" content="Beräkna ditt gymnasie meritvärde inför univeritet eller högskola">
|
||||
<meta name="title" content="Räkna ut ditt meritvärde">
|
||||
|
||||
<link rel="preload" async href="/img/background85.webp" as="image" type="image/webp">
|
||||
<link rel='preconnect' href='https://cdnjs.cloudflare.com' crossorigin>
|
||||
<link rel='preconnect' href='https://pagead2.googlesyndication.com' crossorigin>
|
||||
<script async src="/js/modernizer-webp.js"></script>
|
||||
<link rel="stylesheet" async href="/css/main.css">
|
||||
<link rel="preload" async href="/img/background85.webp" as="image" type="image/webp">
|
||||
<link rel="stylesheet" defer href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/css/materialize.min.css">
|
||||
<script data-ad-client="ca-pub-5143923140938916" defer src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
||||
|
||||
|
||||
|
||||
@ -55,6 +54,7 @@
|
||||
|
||||
|
||||
|
||||
<script data-ad-client="ca-pub-5143923140938916" defer src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
||||
</head>
|
||||
<body id="bg">
|
||||
|
||||
|
2
src/js/jquery.js
vendored
2
src/js/jquery.js
vendored
@ -2827,7 +2827,7 @@ function nodeName( elem, name ) {
|
||||
|
||||
return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
|
||||
|
||||
};
|
||||
}
|
||||
var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i );
|
||||
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
;(function() {
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
@ -2220,7 +2220,7 @@ MaterialSnackbar.prototype.cleanup_ = function () {
|
||||
setTimeout(function () {
|
||||
this.element_.setAttribute('aria-hidden', 'true');
|
||||
this.textElement_.textContent = '';
|
||||
if (!Boolean(this.actionElement_.getAttribute('aria-hidden'))) {
|
||||
if (!this.actionElement_.getAttribute('aria-hidden')) {
|
||||
this.setActionHidden_(true);
|
||||
this.actionElement_.textContent = '';
|
||||
this.actionElement_.removeEventListener('click', this.actionHandler_);
|
||||
@ -2881,7 +2881,7 @@ MaterialTextfield.prototype['checkDisabled'] = MaterialTextfield.prototype.check
|
||||
* @public
|
||||
*/
|
||||
MaterialTextfield.prototype.checkFocus = function () {
|
||||
if (Boolean(this.element_.querySelector(':focus'))) {
|
||||
if ((this.element_.querySelector(':focus'))) {
|
||||
this.element_.classList.add(this.CssClasses_.IS_FOCUSED);
|
||||
} else {
|
||||
this.element_.classList.remove(this.CssClasses_.IS_FOCUSED);
|
||||
@ -3120,7 +3120,7 @@ MaterialTooltip.prototype.init = function () {
|
||||
this.forElement_.addEventListener('touchend', this.boundMouseEnterHandler, false);
|
||||
this.forElement_.addEventListener('mouseleave', this.boundMouseLeaveAndScrollHandler, false);
|
||||
window.addEventListener('scroll', this.boundMouseLeaveAndScrollHandler, true);
|
||||
window.addEventListener('touchstart', this.boundMouseLeaveAndScrollHandler);
|
||||
window.addEventListener('touchstart', this.boundMouseLeaveAndScrollHandler, {passive: true});
|
||||
}
|
||||
}
|
||||
};
|
||||
@ -3905,7 +3905,7 @@ MaterialRipple.prototype.init = function () {
|
||||
this.ignoringMouseDown_ = false;
|
||||
this.boundDownHandler = this.downHandler_.bind(this);
|
||||
this.element_.addEventListener('mousedown', this.boundDownHandler);
|
||||
this.element_.addEventListener('touchstart', this.boundDownHandler);
|
||||
this.element_.addEventListener('touchstart', this.boundDownHandler, {passive: true});
|
||||
this.boundUpHandler = this.upHandler_.bind(this);
|
||||
this.element_.addEventListener('mouseup', this.boundUpHandler);
|
||||
this.element_.addEventListener('mouseleave', this.boundUpHandler);
|
||||
|
Reference in New Issue
Block a user