<template>
<o-navigation :links="links">
<template slot="links" props="link">
<nuxt-link :to="link.href">{{link.text}}</nuxt-link>
</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 reload = (function () { | |
'use strict'; | |
var cache = {}; | |
var refresh = {}; | |
var execCb = window.requirejs.s.contexts._.execCb; | |
window.requirejs.s.contexts._.execCb = function (name, callback) { |
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 BFS(obj, lookingFor, maxFinds = 100, maxDuration = 3) { | |
console.log('Traversing', obj, 'to find', lookingFor); | |
let findCount = 0; | |
let timedOut = false; | |
let queue = [[obj, '']]; | |
setTimeout(() => (timedOut = true), maxDuration * 1000); |
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
window.VueLifecycleTap = ['beforeCreate', 'created', 'beforeMount', 'mounted', 'beforeUpdate', 'updated', 'beforeDestroy', 'destroyed'].reduce((agg, curr) => { | |
agg[curr] = function() { | |
console.log(`uid: ${this._uid} -`, curr); | |
}; | |
return agg; | |
}, {}); |
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
[ | |
{ | |
"planet": "Mercury", | |
"moons": 0, | |
"diameter": 4879, | |
"distanceFromSun": 57.9, | |
"icon": "https://img.icons8.com/color/48/000000/mercury-planet.png" | |
}, | |
{ | |
"planet": "Venus", |
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
{ | |
"version": "v3.28.0", // Latest release | |
"assets": [ | |
{ "version": "v3.28.0" }, | |
{ "version": "v3.27.7" }, | |
{ "version": "v3.26.0" }, | |
... | |
{ "version": "v2.13.1" }, | |
{ "version": "v2.13.0" }, | |
... |
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
say "hellod"; | |
say "bye bye3" |
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
alert(2); |
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 kGroupIndent = Object.getOwnPropertySymbols(console).find(s => s.description === 'kGroupIndent'); | |
function increaseConsoleGroupIndent(increaseIndentBy = ' ') { | |
const { group, groupEnd } = console; | |
console.group = function () { | |
group.apply(this, arguments); | |
this[kGroupIndent] += increaseIndentBy; | |
}; | |
console.groupEnd = function () { | |
groupEnd.apply(this, arguments); |
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
console.log(window.helloworld); | |
window.helloworld = (window.helloworld || 0) + 1; |
OlderNewer