Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Confirming my whereabouts

Jeremy Danyow jdanyow

💭
Confirming my whereabouts
View GitHub Profile
View chrome-shortcuts.txt
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --user-data-dir="C:\chrome\dev-sessions\perf" --enable-precise-memory-info --enable-benchmarking --js-flags="--expose-gc"
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --user-data-dir="C:\chrome\dev-sessions\cors" --disable-web-security
@jdanyow
jdanyow / index.html
Last active Feb 22, 2016
ModifySetObserver - grab refs to Set modifier methods
View index.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>GistRun</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
Look at <code>script.js</code>...
<script src="script.js"></script>
View index.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>GistRun</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="husky">
<div class="mane">
View app.html
<template>
<input keydown.trigger="handleKeydown($event)">
</template>
@jdanyow
jdanyow / app.html
Last active Mar 6, 2016
Aurelia - Search Input
View app.html
<template>
<require from="./search"></require>
<search execute.call="doSearch(query)" delay.bind="400"></search>
<ul>
<li repeat.for="query of queries">${query}</li>
</ul>
</template>
View app.html
<template>
<require from="./number-formatter"></require>
<input type="text" value.bind="value | numberFormat & updateTrigger:'blur'"/>
<br/> value: ${value}
</template>
@jdanyow
jdanyow / app.html
Last active Mar 6, 2016
Aurelia - AccessMember automatically creates objects
View app.html
<template>
<require from="./debug"></require>
<button click.delegate="toggle()">toggle</button>
<input if.bind="show" value.bind="foo.bar">
<debug></debug>
</template>
View app.html
<template>
<require from="./panel"></require>
<panel repeat.for="panel of panels"
header-text.bind="panel" close.call="close($index)">
Panel ${panel} Content
</panel>
</template>
@jdanyow
jdanyow / app.html
Last active Mar 6, 2016
Aurelia - Creating a wrapper around a compose binding and bind to the composed view model
View app.html
<template>
<require from="./widget-wrapper"></require>
<widget-wrapper module-name="foo"></widget-wrapper>
</template>
You can’t perform that action at this time.