all da files

This commit is contained in:
jllord
2013-05-27 13:45:59 -07:00
commit 59d3d30afa
6704 changed files with 1954956 additions and 0 deletions

10
node_modules/browserify/example/source_maps/build.js generated vendored Normal file
View File

@@ -0,0 +1,10 @@
var browserify = require('../..'),
path = require('path'),
fs = require('fs'),
bundlePath = path.join(__dirname, 'js', 'build', 'bundle.js');
browserify()
.require(require.resolve('./js/main.js'), { entry: true })
.bundle({ debug: true })
.on('error', function (err) { console.error(err); })
.pipe(fs.createWriteStream(bundlePath));

4
node_modules/browserify/example/source_maps/build.sh generated vendored Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
../../bin/cmd.js --debug -e ./js/main.js > js/build/bundle.js
echo bundle was generated with source maps, you can now open index.html

11
node_modules/browserify/example/source_maps/index.html generated vendored Normal file
View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title></title>
<script type="text/javascript" src="./js/build/bundle.js"></script>
</head>
<body>
<p>Open your dev tools ;)</p>
</body>
</html>

View File

@@ -0,0 +1 @@
!.gitignore

View File

@@ -0,0 +1,7 @@
console.log('foo line 1');
var bar = require('./wunder/bar');
module.exports = function foo() {
console.log('hello from foo line 5');
bar();
};

View File

@@ -0,0 +1,4 @@
console.log('main line 1');
var foo = require('./foo.js');
foo();

View File

@@ -0,0 +1,8 @@
console.log('bar line 1');
'use strict';
// this is a meaningless comment to add some lines
module.exports = function bar() {
console.log('hello from bar line 7');
};