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
const schemas = [ | |
{ | |
id: 'c5b54d6d-0c7c-473b-886f-ab18c933035a', | |
handle: 'horizons', | |
name: 'Horizons', | |
terms: [ | |
'0b1c29c2-5403-4c53-b41f-2653c9dfe6c9', | |
'71f8c1de-21e1-4892-9933-f0a06fc78840', | |
'e8ac58ab-e67a-4bd4-9b1c-28888ac3a673' | |
] |
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
<template> | |
<div | |
id="matrix-wrapper" | |
:style="{ | |
'--grid-rows': roles.length + 1, | |
'--grid-columns': entities.length + 1, | |
}" | |
> | |
<div> | |
<pre>{{ this.value }}</pre> |
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
// this doesn't have to be in app.js, | |
// just somewhere to spin up... | |
const getBookings = () => import("@/parts/bookingDates") | |
import { docReady } from "@/libs/helpers"; | |
docReady( () => { | |
// decide on what will define the presence of the jquery app, | |
// i.e. the presence of a particular element. If this element |
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
<template> | |
<div class="p-8"> | |
<div class="p-8 border my-8" v-if="md">md</div> | |
<div class="p-8 border my-8" v-if="sm">sm</div> | |
<div class="p-8 border my-8" v-if="lg">lg</div> | |
<div class="p-8 border my-8" v-if="xl">xl</div> | |
<div class="p-8 border my-8" v-if="xl2">xl2</div> | |
</div> | |
</template> |
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
var purgeList = []; | |
var container = "[data-driver-stats]"; | |
$( container ).each( function() { | |
$(this).find('*').each( function() { | |
this.classList.forEach( l => { | |
if ( purgeList.indexOf( l ) === -1 ) { | |
purgeList.push( l ); | |
} | |
}) | |
} ); |
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(window, factory) { | |
var onKeyboard = factory(window, window.document); | |
window.onKeyboard = onKeyboard; | |
if(typeof module == 'object' && module.exports){ | |
module.exports = onKeyboard; | |
} | |
})(window, function(window, document) { | |
// var keycodes = { | |
// left: 37, |
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
APP.initialiser = { | |
// use as keywords, add to a 'global' fn queue, and decide when the 'global' queue is ready to execute. | |
keys: ['global', 'shop', 'photoswipe'], | |
statuses: {}, | |
add: function( when, fn ) { | |
// you don't get to pass arguments to the init queue! | |
// do we have this status object? | |
// if not then there's no queue set thus we aren't | |
// expecting anything to resolve this... |
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
/** | |
* -------------------- | |
* Configuration | |
* -------------------- | |
*/ | |
// CSV source | |
var sourceFile = "Agents_1000s.csv"; |