I hereby claim:
- I am jgerigmeyer on github.
- I am jgerigmeyer (https://keybase.io/jgerigmeyer) on keybase.
- I have a public key ASAkaSQq7vm3gTZg_aO_mj8hK_P0aKMBFMbSXwl_xfRPhgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import BB from 'backbone'; | |
import Mnt from 'backbone.marionette'; | |
require('_404.njk'); | |
export default function(App) { | |
const Controller = (App.Controller = {}); | |
Controller.URLS = { | |
home: () => '/', |
'use strict'; | |
exports.initialize = function (app) { | |
app.module('Utils', function (Utils, App, Backbone, Marionette, $) { | |
Utils.createAndNavigateToProject = function (collection) { | |
var model = collection.create({ name: 'Untitled' }); | |
Backbone.history.navigate('/app/' + model.get('uuid'), true); | |
}; |
/** | |
* Modified for Vue 3 from https://github.com/ndelvalle/v-click-outside | |
* Cf. https://github.com/ndelvalle/v-click-outside/issues/238 | |
*/ | |
import { DirectiveBinding, ObjectDirective } from 'vue'; | |
const HANDLERS_PROPERTY = '__v-click-outside'; | |
const HAS_WINDOWS = typeof window !== 'undefined'; | |
const HAS_NAVIGATOR = typeof navigator !== 'undefined'; |