esperanto-source 0.6.27 → 0.6.28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/esperanto/source/version.rb +1 -1
- data/vendor/esperanto.browser.js +1 -1
- data/vendor/esperanto.js +14 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c394cc45735b9d0d951b4dfb2589e6a1bcf16d4c
|
4
|
+
data.tar.gz: 07243bd273b080b2b91a5eb0eb7e180f11fa0672
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4eda2f0f1fffa6813c8b2951f473ac05143c3f16b39eb7d5c9109c0b0dd09142244691675a2be2df71bd2dd61a4f7092257d0639af4f83ef04ab7b8262a375e
|
7
|
+
data.tar.gz: 8dfef8dbcd6025be12611a2060f2a0e6d4af701d4371064c6f52f829c746a8d6e6ad0901f1433013d7b9c343de4753f00190ad9e234a8e7eaee3ff36a714d6a6
|
data/vendor/esperanto.browser.js
CHANGED
data/vendor/esperanto.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
esperanto.js v0.6.
|
2
|
+
esperanto.js v0.6.28 - 2015-04-15
|
3
3
|
http://esperantojs.org
|
4
4
|
|
5
5
|
Released under the MIT License.
|
@@ -1654,8 +1654,19 @@ function resolvePath ( base, userModules, moduleId, importerPath, resolver ) {
|
|
1654
1654
|
return tryPath( base, moduleId + '.js', userModules )
|
1655
1655
|
.catch( function() {return tryPath( base, moduleId + _path.sep + 'index.js', userModules )} )
|
1656
1656
|
.catch( function ( err ) {
|
1657
|
-
|
1658
|
-
|
1657
|
+
var resolvedPromise = resolver && bundler_getBundle__Promise.resolve( resolver( moduleId, importerPath ) );
|
1658
|
+
|
1659
|
+
if ( resolvedPromise ) {
|
1660
|
+
return resolvedPromise.then( function(resolvedPath ) {
|
1661
|
+
if ( !resolvedPath ) {
|
1662
|
+
// hack but whatevs, it saves handling real ENOENTs differently
|
1663
|
+
var err = new Error();
|
1664
|
+
err.code = 'ENOENT';
|
1665
|
+
throw err;
|
1666
|
+
}
|
1667
|
+
|
1668
|
+
return sander.stat( resolvedPath ).then( function() {return resolvedPath} );
|
1669
|
+
});
|
1659
1670
|
} else {
|
1660
1671
|
throw err;
|
1661
1672
|
}
|