Commit 48c16eb8 authored by John Resig's avatar John Resig

Fixed some bugs with building jQuery - it required that you were in a...

Fixed some bugs with building jQuery - it required that you were in a directory named 'jquery' in order to build properly.
parent 4c850c2e
load("../jquery/build/js/ParseMaster.js", "../jquery/build/js/pack.js", "../jquery/build/js/writeFile.js"); load("build/js/ParseMaster.js", "build/js/pack.js", "build/js/writeFile.js");
var out = readFile( arguments[0] ); var out = readFile( arguments[0] );
......
load("../jquery/build/js/writeFile.js"); load("build/js/writeFile.js");
var blockMatch = /\s*\/\*\*\s*((.|\n|\r\n)*?)\s*\*\/\n*/g; var blockMatch = /\s*\/\*\*\s*((.|\n|\r\n)*?)\s*\*\/\n*/g;
var f = readFile(arguments[0]).replace( blockMatch, "\n" ).replace( /\n\n+/g, "\n\n" ); var f = readFile(arguments[0]).replace( blockMatch, "\n" ).replace( /\n\n+/g, "\n\n" );
......
load("../jquery/build/js/jsmin.js", "../jquery/build/js/writeFile.js"); load("build/js/jsmin.js", "build/js/writeFile.js");
var f = jsmin('', readFile(arguments[0]), 3); var f = jsmin('', readFile(arguments[0]), 3);
......
load("../jquery/build/js/ParseMaster.js", "../jquery/build/js/pack.js", "../jquery/build/js/writeFile.js"); load("build/js/ParseMaster.js", "build/js/pack.js", "build/js/writeFile.js");
var out = readFile( arguments[0] ); var out = readFile( arguments[0] );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment