Skip to content

Instantly share code, notes, and snippets.

Canidae
Felidae
Cat
Cattle
Dog
Donkey
Goat
Guinea pig
Horse
Pig
@green3g
green3g / index.html
Last active July 15, 2021 11:32 — forked from hiaux0/index.html
Shared view model with multiple views
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Dumber Gist</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
<base href="/">
</head>
<!--
Dumber gist uses dumber bundler, the default bundle file
@green3g
green3g / index.html
Last active October 2, 2020 01:39 — forked from bigopon/index.html
Aurelia -ux example
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Dumber Gist</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
<base href="/">
</head>
<!--
Dumber gist uses dumber bundler, the default bundle file
@green3g
green3g / canjs-canjs-deps.js
Last active October 26, 2017 15:20 — forked from phillipskevin/_codemods
codemods
// latest versions from canjs/canjs - make sure `npm install can` first
const canjs = require('can/package.json');
function updateVersions(deps, canjs) {
const newDeps = {};
Object.keys(deps).forEach((key) => {
// if dep exists in canjsDeps, set it to that version
// otherwise, keep existing version
newDeps[key] = canjs[key] || deps[key];
These are the scripts I use to build CanJS 3 in AMD format.