esperanto-source 0.6.13 → 0.6.14
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 +14 -5
- data/vendor/esperanto.js +14 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34ea30e832daccb54f2758d180f1380d1a5d269c
|
4
|
+
data.tar.gz: 4f7242cb4ca85b340dfce306f7c6ee4e431aecda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f3101dfa43c194c1a2ebf7420cd09017784d8b143afb0c9479ba1f6c9142ed3d6a3467ed73bbc362652270e989d430ee004679830fe41e04d75b0e6eb0d8a99
|
7
|
+
data.tar.gz: f3d74b43abf38e95fe7740e866f9da382d9d95d247673687a642be05e7afed40e0e983f64969405714b661bc4914bfd0263de1b43c811d2bdca6dc73cfba1a1e
|
data/vendor/esperanto.browser.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
esperanto.js v0.6.
|
2
|
+
esperanto.js v0.6.14 - 2015-02-26
|
3
3
|
http://esperantojs.org
|
4
4
|
|
5
5
|
Released under the MIT License.
|
@@ -1463,17 +1463,26 @@
|
|
1463
1463
|
code = body.toString();
|
1464
1464
|
|
1465
1465
|
if ( !!options.sourceMap ) {
|
1466
|
-
if (
|
1467
|
-
throw new Error( 'You must provide `
|
1466
|
+
if ( options.sourceMap !== 'inline' && !options.sourceMapFile) {
|
1467
|
+
throw new Error( 'You must provide `sourceMapFile` option' );
|
1468
1468
|
}
|
1469
1469
|
|
1470
|
-
|
1470
|
+
if ( !isBundle && !options.sourceMapSource ) {
|
1471
|
+
throw new Error( 'You must provide `sourceMapSource` option' );
|
1472
|
+
}
|
1473
|
+
|
1474
|
+
var sourceMapFile;
|
1475
|
+
if (options.sourceMap === 'inline') {
|
1476
|
+
sourceMapFile = null;
|
1477
|
+
} else {
|
1478
|
+
sourceMapFile = isAbsolutePath( options.sourceMapFile ) ? options.sourceMapFile : './' + splitPath( options.sourceMapFile ).pop();
|
1479
|
+
}
|
1471
1480
|
|
1472
1481
|
map = body.generateMap({
|
1473
1482
|
includeContent: true,
|
1474
1483
|
hires: true,
|
1475
1484
|
file: sourceMapFile,
|
1476
|
-
source: !isBundle ? packageResult__getRelativePath( sourceMapFile, options.sourceMapSource ) : null
|
1485
|
+
source: (sourceMapFile && !isBundle) ? packageResult__getRelativePath( sourceMapFile, options.sourceMapSource ) : null
|
1477
1486
|
});
|
1478
1487
|
|
1479
1488
|
if ( options.sourceMap === 'inline' ) {
|
data/vendor/esperanto.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
esperanto.js v0.6.
|
2
|
+
esperanto.js v0.6.14 - 2015-02-26
|
3
3
|
http://esperantojs.org
|
4
4
|
|
5
5
|
Released under the MIT License.
|
@@ -1555,17 +1555,26 @@ function packageResult ( body, options, methodName, isBundle ) {
|
|
1555
1555
|
code = body.toString();
|
1556
1556
|
|
1557
1557
|
if ( !!options.sourceMap ) {
|
1558
|
-
if (
|
1559
|
-
throw new Error( 'You must provide `
|
1558
|
+
if ( options.sourceMap !== 'inline' && !options.sourceMapFile) {
|
1559
|
+
throw new Error( 'You must provide `sourceMapFile` option' );
|
1560
1560
|
}
|
1561
1561
|
|
1562
|
-
|
1562
|
+
if ( !isBundle && !options.sourceMapSource ) {
|
1563
|
+
throw new Error( 'You must provide `sourceMapSource` option' );
|
1564
|
+
}
|
1565
|
+
|
1566
|
+
var sourceMapFile;
|
1567
|
+
if (options.sourceMap === 'inline') {
|
1568
|
+
sourceMapFile = null;
|
1569
|
+
} else {
|
1570
|
+
sourceMapFile = isAbsolutePath( options.sourceMapFile ) ? options.sourceMapFile : './' + splitPath( options.sourceMapFile ).pop();
|
1571
|
+
}
|
1563
1572
|
|
1564
1573
|
map = body.generateMap({
|
1565
1574
|
includeContent: true,
|
1566
1575
|
hires: true,
|
1567
1576
|
file: sourceMapFile,
|
1568
|
-
source: !isBundle ? getRelativePath( sourceMapFile, options.sourceMapSource ) : null
|
1577
|
+
source: (sourceMapFile && !isBundle) ? getRelativePath( sourceMapFile, options.sourceMapSource ) : null
|
1569
1578
|
});
|
1570
1579
|
|
1571
1580
|
if ( options.sourceMap === 'inline' ) {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: esperanto-source
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryunosuke SATO
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|