Permalink
Browse files

new build

  • Loading branch information...
1 parent ef84f53 commit 098536b3b1728319debfe6cf329162be39c2d413 @cadorn cadorn committed Mar 10, 2012
View
@@ -4,7 +4,7 @@ Optimized [PINF](http://pinf.org/)/[CommonJS](http://commonjs.org/) Loader for J
*Status: ALPHA* [![Build Status](https://secure.travis-ci.org/sourcemint/loader-js.png)](http://travis-ci.org/sourcemint/loader-js)
The `Sourcemint JavaScript Loader` is an optimized *(intended for production use)* **CommonJS package mappings**
-based **JavaScript module loader** for the browser in only **1584 bytes** *(minified and zipped)*.
+based **JavaScript module loader** for the browser in only **1583 bytes** *(minified and zipped)*.
* Copyright: 2011 [Christoph Dorn](http://www.christophdorn.com/)
* Code License: [MIT](http://www.opensource.org/licenses/mit-license.php) or [MPL](http://mozilla.org/MPL/2.0/)
View
@@ -13,7 +13,7 @@ require.bundle("", function(require)
module.log("Hello from 10-Sandbox!");
- var url = require.sandbox.id + require.id("./SandboxedExtraBundle");
+ var url = "." + require.id("./SandboxedExtraBundle");
require.sandbox(url, function(sandbox)
{
View
@@ -75,7 +75,7 @@ require.bundle("", function(require)
{
var result = Q.defer();
- require.sandbox("./" + name + ".js", function(sandbox)
+ require.sandbox("../" + name + ".js", function(sandbox)
{
try {
Q.when(sandbox.main(options), result.resolve, result.reject);
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
Binary file not shown.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
Binary file not shown.
View
@@ -206,7 +206,7 @@ var sourcemint = null;
// If the `programIdentifier` (first argument) is relative it is resolved against the URI of the owning sandbox (not the owning page).
if (/^\./.test(arguments[0]))
{
- arguments[0] = sandboxIdentifier.replace(/\/[^\/]*$/, "") + "/" + arguments[0];
+ arguments[0] = sandboxIdentifier + "/" + arguments[0];
// HACK: Temporary hack as zombie (https://github.com/assaf/zombie) does not normalize path before sending to server.
arguments[0] = arguments[0].replace(/\/\.\//g, "/");
}
@@ -1 +1 @@
-2237
+2226
@@ -1 +1 @@
-1675
+1672
@@ -1 +1 @@
-3644
+3620
@@ -1 +1 @@
-1584
+1583
@@ -1 +1 @@
-ffb4d5b9d4358f6cfbf57ee4d806bf84
+ac623cb21471fa8abc68df8ba0e438af

0 comments on commit 098536b

Please sign in to comment.