File tree Expand file tree Collapse file tree
lib/node_modules/@stdlib/blas/base Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,15 +24,10 @@ var hasWebAssemblySupport = require( '@stdlib/assert/has-wasm-support' );
2424var tryFunction = require ( '@stdlib/utils/try-function' ) ;
2525
2626
27- // VARIABLES //
28-
29- var hasWebAssembly = hasWebAssemblySupport ( ) ;
30-
31-
3227// MAIN //
3328
3429var factory ;
35- if ( hasWebAssembly ) {
30+ if ( hasWebAssemblySupport ( ) ) {
3631 factory = require ( './dasum.wasm.js' ) ;
3732 if ( tryFunction ( factory ) ( ) instanceof Error ) {
3833 factory = require ( './dasum.asm.js' ) ;
Original file line number Diff line number Diff line change @@ -24,15 +24,10 @@ var hasWebAssemblySupport = require( '@stdlib/assert/has-wasm-support' );
2424var tryFunction = require ( '@stdlib/utils/try-function' ) ;
2525
2626
27- // VARIABLES //
28-
29- var hasWebAssembly = hasWebAssemblySupport ( ) ;
30-
31-
3227// MAIN //
3328
3429var factory ;
35- if ( hasWebAssembly ) {
30+ if ( hasWebAssemblySupport ( ) ) {
3631 factory = require ( './daxpy.wasm.js' ) ;
3732 if ( tryFunction ( factory ) ( ) instanceof Error ) {
3833 factory = require ( './daxpy.asm.js' ) ;
You can’t perform that action at this time.
0 commit comments