Skip to content

Instantly share code, notes, and snippets.

@aaronj1335
Created August 22, 2012 21:54
Show Gist options
  • Save aaronj1335/3429734 to your computer and use it in GitHub Desktop.
Save aaronj1335/3429734 to your computer and use it in GitHub Desktop.
bootstrapping mr
<!doctype html>
<html>
<head>
<script src="node_modules/mr/bootstrap.js" data-module=index></script>
</head>
</html>
var underscoreRet = require('underscore');
var d = document.createElement('div');
d.innerHTML = 'module ' + module.location + ' loaded';
var _ = window._;
console.log();
d.innerHTML += '<br />underscore ' + _.version + ' loaded';
document.body.appendChild(d);
{
"name": "Ω",
"version": "0.0.0",
"description": "ERROR: No README.md file found!",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": "",
"author": "",
"license": "BSD",
"dependencies": {
"mr": ">=0.0.2",
"underscore": ">=1.3.3"
}
}
@kriskowal
Copy link

Published v0.0.2 to address this. Works locally now. Thanks for the reduction.

@aaronj1335
Copy link
Author

hey yo! thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment