mirror of
https://github.com/amark/gun.git
synced 2026-02-16 08:34:18 +00:00
Put out of the way require polyfill.
This commit is contained in:
@@ -77,6 +77,7 @@ var undent = function(code, n){
|
|||||||
|
|
||||||
rm('./src');
|
rm('./src');
|
||||||
mk('./src');
|
mk('./src');
|
||||||
|
mk('./src/polyfill');
|
||||||
mk('./src/adapters');
|
mk('./src/adapters');
|
||||||
|
|
||||||
var gun = read('gun.js');
|
var gun = read('gun.js');
|
||||||
@@ -84,7 +85,7 @@ var undent = function(code, n){
|
|||||||
|
|
||||||
|
|
||||||
code = next("/* UNBUILD */");
|
code = next("/* UNBUILD */");
|
||||||
write('src/unbuild.js', undent(code, 1));
|
write('src/polyfill/unbuild.js', undent(code, 1));
|
||||||
|
|
||||||
(function recurse(c){
|
(function recurse(c){
|
||||||
code = next(";require(function(module){", "})(require");
|
code = next(";require(function(module){", "})(require");
|
||||||
|
|||||||
Reference in New Issue
Block a user