Skip to content

Commit

Permalink
reduce size
Browse files Browse the repository at this point in the history
  • Loading branch information
army8735 committed Aug 1, 2014
1 parent cf020f5 commit 1a5ad5f
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 26 deletions.
18 changes: 9 additions & 9 deletions dist/runtime-debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
if (global.seajs) {
return
}


var seajs = global.seajs = {
// The current version of Sea.js being used
version: "@VERSION"
}

var data = seajs.data = {}



/**
* util-lang.js - The minimal language enhancement
*/
Expand All @@ -36,7 +36,7 @@ function cid() {
return _cid++
}



/**
* util-events.js - The minimal events support
*/
Expand Down Expand Up @@ -94,7 +94,7 @@ var emit = seajs.emit = function(name, data) {

return seajs
}


/**
* util-path.js - The utilities for operating path such as id, uri
*/
Expand Down Expand Up @@ -262,7 +262,7 @@ seajs.resolve = id2Uri;
var isWebWorker = typeof window === 'undefined' && typeof importScripts !== 'undefined' && isFunction(importScripts);

// Ignore about:xxx and blob:xxx
var IGNORE_LOCATION_RE = /^(about|blob):.*?/;
var IGNORE_LOCATION_RE = /^(about|blob):/;
var loaderDir;
// Sea.js's full path
var loaderPath;
Expand Down Expand Up @@ -342,7 +342,7 @@ else {
// When `sea.js` is inline, set loaderDir to current working directory
loaderDir = dirname(loaderPath || cwd)
}


/**
* util-request.js - The utilities for requesting script and style files
* ref: tests/research/load-js-css/test.html
Expand Down Expand Up @@ -433,7 +433,7 @@ else {
// For Developers
seajs.request = request

}
}
/**
* module.js - The core of module loader
*/
Expand Down Expand Up @@ -861,7 +861,7 @@ seajs.require = function(id) {
}
return mod.exports
}


/**
* config.js - The configuration for the loader
*/
Expand Down Expand Up @@ -921,5 +921,5 @@ seajs.config = function(configData) {
emit("config", configData)
return seajs
}


})(this);
4 changes: 2 additions & 2 deletions dist/runtime.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 11 additions & 11 deletions dist/sea-debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
if (global.seajs) {
return
}


var seajs = global.seajs = {
// The current version of Sea.js being used
version: "3.0.0"
}

var data = seajs.data = {}



/**
* util-lang.js - The minimal language enhancement
*/
Expand All @@ -36,7 +36,7 @@ function cid() {
return _cid++
}



/**
* util-events.js - The minimal events support
*/
Expand Down Expand Up @@ -94,7 +94,7 @@ var emit = seajs.emit = function(name, data) {

return seajs
}


/**
* util-path.js - The utilities for operating path such as id, uri
*/
Expand Down Expand Up @@ -262,7 +262,7 @@ seajs.resolve = id2Uri;
var isWebWorker = typeof window === 'undefined' && typeof importScripts !== 'undefined' && isFunction(importScripts);

// Ignore about:xxx and blob:xxx
var IGNORE_LOCATION_RE = /^(about|blob):.*?/;
var IGNORE_LOCATION_RE = /^(about|blob):/;
var loaderDir;
// Sea.js's full path
var loaderPath;
Expand Down Expand Up @@ -342,7 +342,7 @@ else {
// When `sea.js` is inline, set loaderDir to current working directory
loaderDir = dirname(loaderPath || cwd)
}


/**
* util-request.js - The utilities for requesting script and style files
* ref: tests/research/load-js-css/test.html
Expand Down Expand Up @@ -433,7 +433,7 @@ else {
// For Developers
seajs.request = request

}
}
var interactiveScript

function getCurrentScript() {
Expand All @@ -460,7 +460,7 @@ function getCurrentScript() {
}
}
}


/**
* util-deps.js - The parser for dependencies
* ref: tests/research/parse-dependencies/test.html
Expand Down Expand Up @@ -639,7 +639,7 @@ function parseDependencies(s) {
index += r.length - 1
isReg = 0
}
}
}
/**
* module.js - The core of module loader
*/
Expand Down Expand Up @@ -1067,7 +1067,7 @@ seajs.require = function(id) {
}
return mod.exports
}


/**
* config.js - The configuration for the loader
*/
Expand Down Expand Up @@ -1127,5 +1127,5 @@ seajs.config = function(configData) {
emit("config", configData)
return seajs
}


})(this);
Loading

0 comments on commit 1a5ad5f

Please sign in to comment.