Skip to content

Commit 2120afb

Browse files
chore: remove file
1 parent 264d34d commit 2120afb

File tree

2 files changed

+5
-34
lines changed

2 files changed

+5
-34
lines changed

lib/node_modules/@stdlib/blas/ext/base/wasm/dapxsumors/lib/binary.browser.js renamed to lib/node_modules/@stdlib/blas/ext/base/wasm/dapxsumkbn/lib/binary.browser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 202 The Stdlib Authors.
4+
* Copyright (c) 2024 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
Lines changed: 4 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env node
2-
31
/**
42
* @license Apache-2.0
53
*
@@ -23,41 +21,14 @@
2321
// MODULES //
2422

2523
var resolve = require( 'path' ).resolve;
26-
var readFile = require( '@stdlib/fs/read-file' ).sync;
27-
var writeFile = require( '@stdlib/fs/write-file' ).sync;
28-
var replace = require( '@stdlib/string/replace' );
29-
30-
31-
// VARIABLES //
32-
33-
var wpath = resolve( __dirname, '..', 'src', 'main.wasm' );
34-
var tpath = resolve( __dirname, 'template.txt' );
35-
var opath = resolve( __dirname, '..', 'lib', 'binary.browser.js' );
36-
37-
var opts = {
38-
'encoding': 'utf8'
39-
};
40-
41-
var PLACEHOLDER = '{{WASM_BASE64}}';
24+
var readWASM = require( '@stdlib/fs/read-wasm' ).sync;
4225

4326

4427
// MAIN //
4528

46-
/**
47-
* Main execution sequence.
48-
*
49-
* @private
50-
*/
51-
function main() {
52-
var wasm;
53-
var tmpl;
54-
55-
wasm = readFile( wpath );
56-
tmpl = readFile( tpath, opts );
29+
var wasm = readWASM( resolve( __dirname, '..', 'src', 'main.wasm' ) );
5730

58-
tmpl = replace( tmpl, PLACEHOLDER, wasm.toString( 'base64' ) );
5931

60-
writeFile( opath, tmpl, opts );
61-
}
32+
// EXPORTS //
6233

63-
main();
34+
module.exports = wasm;

0 commit comments

Comments
 (0)