Skip to content

Instantly share code, notes, and snippets.

@jsobell
Last active April 29, 2016 07:31
Show Gist options
  • Select an option

  • Save jsobell/14495498beb2db4145ab4e37ce84b1cf to your computer and use it in GitHub Desktop.

Select an option

Save jsobell/14495498beb2db4145ab4e37ce84b1cf to your computer and use it in GitHub Desktop.
status updates
<template>
<button click.delegate='v=!v'>Show Hi!</button>
<div show.bind='v'>Hi !</div>
</template>
export class App {
}
<!doctype html>
<html>
<head>
<title>Aurelia</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css">
</head>
<body aurelia-app>
<h1>Loading...</h1>
<script src="https://cdn.rawgit.com/jdanyow/aurelia-bundle/v1.0.3/jspm_packages/system.js"></script>
<script src="https://cdn.rawgit.com/jdanyow/aurelia-bundle/v1.0.3/config.js"></script>
<script>
System.import('aurelia-bootstrapper');
</script>
</body>
</html>
console.log('Hello World!');
/* todo: add styles */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment