mirror of
https://github.com/josdejong/mathjs.git
synced 2026-02-01 16:07:46 +00:00
Released version 0.16.0
This commit is contained in:
parent
1df8ebf2bc
commit
163b4be826
12
index.md
12
index.md
@ -96,22 +96,22 @@ Math.js can be downloaded or linked from [cdnjs](http://cdnjs.com/):
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="http://cdnjs.cloudflare.com/ajax/libs/mathjs/0.15.0/math.js">
|
||||
Development (version 0.15.0)
|
||||
<a href="http://cdnjs.cloudflare.com/ajax/libs/mathjs/0.16.0/math.js">
|
||||
Development (version 0.16.0)
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<span id="development-size">377 kB</span>, uncompressed with comments
|
||||
<span id="development-size">480 kB</span>, uncompressed with comments
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="http://cdnjs.cloudflare.com/ajax/libs/mathjs/0.15.0/math.min.js">
|
||||
Production (version 0.15.0)
|
||||
<a href="http://cdnjs.cloudflare.com/ajax/libs/mathjs/0.16.0/math.min.js">
|
||||
Production (version 0.16.0)
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<span id="production-size">33 kB</span>, minified and gzipped
|
||||
<span id="production-size">41 kB</span>, minified and gzipped
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@ -64,8 +64,8 @@ function updateVersion(developmentSize, productionSize, version, callback) {
|
||||
data = String(data);
|
||||
|
||||
// replace version
|
||||
data = data.replace(/\(version [0-9]+\.[0-9]+\.[0-9]+?(-SNAPSHOT)\)/g, '(version ' + version + ')');
|
||||
data = data.replace(/\/[0-9]+\.[0-9]+\.[0-9]+?(-SNAPSHOT)\//g, '/' + version + '/');
|
||||
data = data.replace(/\(version [0-9]+\.[0-9]+\.[0-9]+(-SNAPSHOT)?\)/g, '(version ' + version + ')');
|
||||
data = data.replace(/\/[0-9]+\.[0-9]+\.[0-9]+?(-SNAPSHOT)?\//g, '/' + version + '/');
|
||||
|
||||
// replace development size
|
||||
data = data.replace(/<span id="development-size">([\w\s]*)<\/span>/g,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user