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

1
node_modules/browserify/test/tr/f.js generated vendored Normal file
View File

@@ -0,0 +1 @@
module.exports = function (x) { return x + BBB }

7
node_modules/browserify/test/tr/main.js generated vendored Normal file
View File

@@ -0,0 +1,7 @@
var f = require('./f.js');
var m = require('m');
var g = require('g');
t.equal(m(f(AAA)), 555, 'transformation scope');
t.equal(g(3), 333, 'sub-transformation applied');
t.equal(typeof GGG, 'undefined', 'GGG leak');

View File

@@ -0,0 +1 @@
module.exports = function (x) { return x * GGG }

View File

@@ -0,0 +1,7 @@
var through = require('through');
module.exports = function (file) {
return through(function (buf) {
this.queue(String(buf).replace(/GGG/g, '111'));
});
};

View File

@@ -0,0 +1,6 @@
{
"main": "index.js",
"browserify": {
"transform": "insert-ggg"
}
}

View File

@@ -0,0 +1,7 @@
var through = require('through');
module.exports = function (file) {
return through(function (buf) {
this.queue(String(buf).replace(/AAA/g, '5'));
});
};

View File

@@ -0,0 +1,7 @@
var through = require('through');
module.exports = function (file) {
return through(function (buf) {
this.queue(String(buf).replace(/BBB/g, '50'));
});
};

View File

@@ -0,0 +1,3 @@
var AAA = 200, BBB = 300;
module.exports = function (x) { return AAA + BBB + x }