Skip to content

Instantly share code, notes, and snippets.

@perokvist
Created July 3, 2012 11:51
Show Gist options
  • Save perokvist/3039283 to your computer and use it in GitHub Desktop.
Save perokvist/3039283 to your computer and use it in GitHub Desktop.
qunitmetro
autoLoadTests: function (e) {
var re = new RegExp("([^/]+\.html$)");
var testUrl = e.detail.location.replace(re, QUnit.config.unitTestFileName);
<link href="/css/default.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="css/qunitmetro-dark.css" />
<script defer="defer" type="text/javascript" src="js/qunitmetro.js"></script>
<script src="/js/default.js"></script>
<script src="/js/navigator.js"></script>
...
<div data-win-control="WinJS.UI.AppBar"></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment