Skip to content

Instantly share code, notes, and snippets.

@jensWorkGit
jensWorkGit / System.tap.js
Created December 15, 2015 22:03 — forked from g0t4/System.tap.js
SystemJS / jspm course components that might need updates
var normalize = System.normalize;
System.normalize = function (name, parentName, parentAddress) {
console.log("normalize: " + JSON.stringify({
name: name,
parentName: parentName,
parentAddress: parentAddress
}));
return normalize.call(this, name, parentName, parentAddress);
};

Angular2 + JSPM cheat sheet

First time setup

  • install jspm beta: npm install -g jspm@beta
  • set up your project: jspm init
  • install dependencies: jspm install angular2 reflect-metadata zone.js es6-shim

This will create a jspm_packages folder, and a config.js file.

Open the config.js file - this file manages options for the System.js loader - tweak it as appropriate

@jensWorkGit
jensWorkGit / Notes.md
Created December 13, 2016 20:45 — forked from g0t4/ Notes.md
Getting Started with Docker on Windows