Skip to content

Instantly share code, notes, and snippets.

@geelen
geelen / README.md
Last active December 20, 2015 10:59 — forked from mbostock/.block

Chord diagrams show directed relationships among a group of entities. This example also demonstrates simple interactivity by using mouseover filtering. Layout inspired by Martin Krzywinski's beautiful work on Circos.

@geelen
geelen / notes.md
Created July 25, 2013 00:57
Notes from ngMelb last night
var isAndroidJellyBean = (function() {
var ua = navigator.userAgent,
matches = ua && ua.match(/Android\s+([\d\.]+)/),
androidNr = matches && parseFloat(matches[1]);
return !!(androidNr && androidNr > 4.0)
})();
diff --git a/examples/webapp/app/post.hbs b/examples/webapp/app/post.hbs
new file mode 100644
index 0000000..7bc8704
--- /dev/null
+++ b/examples/webapp/app/post.hbs
@@ -0,0 +1,5 @@
+{{#markdown}}
+## Here are my thoughts
+
+Gosh, do I have a lot of them?
diff --git a/examples/webapp/app/layout.hbs b/examples/webapp/app/layout.hbs
index b149886..69dc14f 100644
--- a/examples/webapp/app/layout.hbs
+++ b/examples/webapp/app/layout.hbs
@@ -7,6 +7,14 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{{ config.title }}</title>
+
+ <meta name="breakpoint" content="two" media="(max-width: 511px)">
diff --git a/examples/webapp/Gruntfile.js b/examples/webapp/Gruntfile.js
index 905f175..f419097 100644
--- a/examples/webapp/Gruntfile.js
+++ b/examples/webapp/Gruntfile.js
@@ -131,13 +131,14 @@ module.exports = function (grunt) {
assemble: {
options: {
data: '<%= yeoman.app %>/config.json',
- partials: '<%= yeoman.app %>/partials/*.hbs'
+ partials: '<%= yeoman.app %>/partials/*.hbs',
diff --git a/examples/webapp/Gruntfile.js b/examples/webapp/Gruntfile.js
index 1b6e8ce..905f175 100644
--- a/examples/webapp/Gruntfile.js
+++ b/examples/webapp/Gruntfile.js
@@ -130,13 +130,14 @@ module.exports = function (grunt) {
},
assemble: {
options: {
- data: '<%= yeoman.app %>/config.json'
+ data: '<%= yeoman.app %>/config.json',
diff --git a/examples/webapp/app/index.hbs b/examples/webapp/app/index.hbs
index bad408f..fc2b257 100644
--- a/examples/webapp/app/index.hbs
+++ b/examples/webapp/app/index.hbs
@@ -1,3 +1,6 @@
+---
+title: "My Page Title!"
+---
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
npm install assemble --save-dev
<div class="session-perspective-wrapper"
ng-class="isTba(session.title)"
ng-activate-preview='activate-preview'>
<div class="session-keynote"
ng-activate
ng-activate-modal="session">
<img ng-src="{{session.image}}" alt="Profile image of {{session.speaker}}">