<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
(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
var reload = (function () { | |
'use strict'; | |
var cache = {}; | |
var refresh = {}; | |
var execCb = window.requirejs.s.contexts._.execCb; | |
window.requirejs.s.contexts._.execCb = function (name, callback) { |
NewerOlder