File tree 2 files changed +10
-5
lines changed
2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 1
1
"use strict"
2
2
3
- var fill = require ( "cwise" ) ( {
3
+ var cwise = require ( "cwise" )
4
+
5
+ var fill = cwise ( {
4
6
args : [ "index" , "array" , "scalar" ] ,
5
7
body : function ( idx , out , f ) {
6
8
out = f . apply ( undefined , idx )
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " ndarray-fill" ,
3
- "version" : " 0.1 .0" ,
3
+ "version" : " 1.0 .0" ,
4
4
"description" : " Fills an ndarray with function" ,
5
5
"main" : " index.js" ,
6
6
"directories" : {
7
7
"test" : " test"
8
8
},
9
9
"dependencies" : {
10
- "cwise" : " ~0.3.2 "
10
+ "cwise" : " ^1.0.0 "
11
11
},
12
12
"devDependencies" : {
13
13
"zeros" : " ~0.0.0" ,
14
- "tape" : " ~1.0.4 "
14
+ "tape" : " ^2.12.3 "
15
15
},
16
16
"scripts" : {
17
- "test" : " tap test/*.js"
17
+ "test" : " tape test/*.js"
18
18
},
19
19
"repository" : {
20
20
"type" : " git" ,
32
32
"gitHead" : " 8831bd16c9e816764d66abbfb7054f27c40940d5" ,
33
33
"bugs" : {
34
34
"url" : " https://github.com/mikolalysenko/ndarray-fill/issues"
35
+ },
36
+ "browserify" : {
37
+ "transform" : [" cwise" ]
35
38
}
36
39
}
You can’t perform that action at this time.
0 commit comments