Skip to content

Instantly share code, notes, and snippets.

View davismj's full-sized avatar
🎓
Computing normal vectors.

Matthew James Davis davismj

🎓
Computing normal vectors.
View GitHub Profile
@davismj
davismj / app.html
Last active August 17, 2017 11:20 — forked from jdanyow/app.html
Handwritten Drag and Drop
<template>
<style>
.list {
user-select: none;
}
.list + .list {
margin-top: 1em;
}
.list-item {
border: 1px solid;
@davismj
davismj / app.html
Last active May 17, 2020 05:02 — forked from AshleyGrant/app.html
Activation and Children Order
<template>
app
<router-view></router-view>
</template>
import {inject} from 'aurelia-framework';
import $ from 'jQuery'; // i'm not sure about this line, check the jquery site or stack overflow. $ should be defined.
import 'materialize-css'; // this will load the materialize library
@inject(Element)
export class CollapsibleCustomAttribute {
private element;
constructor(element) {
this.element = $(element);