Skip to content

Instantly share code, notes, and snippets.

View cmichaelgraham's full-sized avatar

Mike Graham cmichaelgraham

View GitHub Profile
@cmichaelgraham
cmichaelgraham / app.html
Last active October 9, 2016 03:48 — forked from Vheissu/app.html
Repeater of elements
<template>
<div repeat.for="node of nodes" innerhtml.bind="node.outerHTML"></div>
</template>
@cmichaelgraham
cmichaelgraham / app.html
Last active July 23, 2016 15:53
Include remote content
<template>
<h1>${message}</h1>
<compose view-model="https://cmichaelgraham.github.io/plotter/views/test01/test01"></compose>
</template>

These are the steps I had to take to get VS2013 using and outputting TS1.5 with es6 output.

Get Node installed.

npm -g install typescript@1.5.0alpha

This should install to C:\Users\<USER>\AppData\Roaming\npm\node_modules\typescript

@cmichaelgraham
cmichaelgraham / IssueDescription.md
Last active August 29, 2015 14:12
Getting karma-jspm to work on Windows

windows karma start issue update: karma-jspm hasn't changed the function that causes the problem: https://github.com/Workiva/karma-jspm/blob/master/src/init.js#L27

to get tests to run, follow the recipe: from the installed repo, navigate to .\node_modules\karma-jspm\src, edit init.js

change this:

function expandGlob(file) {
  return glob.sync(file.pattern || file).map(function (filePath) {
    return filePath.replace(/\//g, path.sep);
 });