File tree 4 files changed +25
-5
lines changed
4 files changed +25
-5
lines changed Original file line number Diff line number Diff line change 27
27
tools /benchlib.js
28
28
tools /deploy /report.html
29
29
tools /deploy /version.txt
30
+ resources /header.html
30
31
31
32
# Logs and databases #
32
33
# #####################
Original file line number Diff line number Diff line change 1
1
var numeric = ( typeof exports === "undefined" ) ?( function numeric ( ) { } ) :( exports ) ;
2
2
if ( typeof global !== "undefined" ) { global . numeric = numeric ; }
3
3
4
- numeric . version = "1.0.2 " ;
4
+ numeric . version = "1.0.3 " ;
5
5
6
6
// 1. Utility functions
7
7
numeric . bench = function bench ( f , interval ) {
Original file line number Diff line number Diff line change @@ -16,6 +16,25 @@ cat ../src/numeric.js ../src/seedrandom.js ../src/quadprog.js ../src/svd.js > ..
16
16
uglifyjs ../lib/numeric-$ver .js > ../lib/numeric-$ver .min.js
17
17
cat jquery-1.7.1.min.js jquery.flot.min.js ' Crypto-JS v2.4.0/crypto/crypto-min.js' ' Crypto-JS v2.4.0/crypto-sha256/crypto-sha256.js' json2.js > megalib.js
18
18
echo " " | cat closurelib.js sylvester.js - ../lib/numeric-$ver .min.js jquery-1.7.1.min.js jquery.flot.min.js > benchlib.js
19
+ cat > ../resources/header.html << XXXXX
20
+ <a href="https://github.com/sloisel/numeric"><img style="position: absolute; top: 0; right: 0; border: 0;" src="resources/forkme.png" alt="Fork me on GitHub"></a>
21
+ <table class="nav"><tr class="nav">
22
+ <td class="nav" style="width:150px;"><img src="resources/paperplane-small.png">
23
+ <td class="navmain">
24
+ <b>Numeric Javascript: Workshop</b>
25
+ <ul class="nav">
26
+ <li class="nav"><a id = "linkhome" class="nav" href="index.html">HOME</a></li>
27
+ <li class="nav"><a id = "linkworkshop" class="nav" href="workshop.php">WORKSHOP</a></li>
28
+ <li class="nav"><a id = "linkbenchmarks" class="nav" href="benchmark.html">BENCHMARKS</a></li>
29
+ <li class="nav"><a id = "linkdoc" class="nav" href="documentation.html">DOCUMENTATION</a></li>
30
+ </ul>
31
+ <ul class="nav">
32
+ <li class="sep">DOWNLOADS:</li>
33
+ <li class="nav"><a id = "linklib" class="dl" href="lib/numeric-$ver .js">numeric-$ver .js</a></li>
34
+ <li class="nav"><a id = "linklibmin" class="dl" href="lib/numeric-$ver .min.js">numeric-$ver .min.js</a></li>
35
+ </ul>
36
+ </table>
37
+ XXXXX
19
38
cp ../src/documentation.html ..
20
39
rm -f ../workshop.php
21
40
sed -e ' /WORKSHOPHTML/r workshop.html' -e ' s/WORKSHOPHTML//' -e " s/VERSIONSTRING/$ver /" workshop_in.php > ../workshop.php
Original file line number Diff line number Diff line change @@ -398,7 +398,7 @@ function submit() {
398
398
$ foo = json_decode ($ restore ,true ) or die ("json error " );
399
399
$ incs = $ foo ['scripts ' ];
400
400
if (is_null ($ incs )) {
401
- $ incs = array (1 => 'lib/numeric-1.0.2 .js ' );
401
+ $ incs = array (1 => 'lib/numeric-1.0.3 .js ' );
402
402
}
403
403
echo <<<EOT
404
404
workshop._restore = $ restore;
@@ -408,13 +408,13 @@ function submit() {
408
408
workshop._restore = ((typeof localStorage.savedata === "string")?
409
409
(JSON.parse(localStorage.savedata)):
410
410
{inputs: [], outputs: [],
411
- scripts: ["lib/numeric-1.0.2 .js"] });
411
+ scripts: ["lib/numeric-1.0.3 .js"] });
412
412
EOT ;
413
413
}
414
414
?>
415
415
416
- workshop.version = "1.0.2 ";
417
- workshop.updateVersion = "lib/numeric-1.0.2 .js";
416
+ workshop.version = "1.0.3 ";
417
+ workshop.updateVersion = "lib/numeric-1.0.3 .js";
418
418
workshop.preload(workshop._restore);
419
419
</script>
420
420
You can’t perform that action at this time.
0 commit comments