Skip to content

Commit af3f2b6

Browse files
committed
1.0.0
1 parent 011a1f0 commit af3f2b6

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
"use strict"
22

3-
var fill = require("cwise")({
3+
var cwise = require("cwise")
4+
5+
var fill = cwise({
46
args: ["index", "array", "scalar"],
57
body: function(idx, out, f) {
68
out = f.apply(undefined, idx)

package.json

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
{
22
"name": "ndarray-fill",
3-
"version": "0.1.0",
3+
"version": "1.0.0",
44
"description": "Fills an ndarray with function",
55
"main": "index.js",
66
"directories": {
77
"test": "test"
88
},
99
"dependencies": {
10-
"cwise": "~0.3.2"
10+
"cwise": "^1.0.0"
1111
},
1212
"devDependencies": {
1313
"zeros": "~0.0.0",
14-
"tape": "~1.0.4"
14+
"tape": "^2.12.3"
1515
},
1616
"scripts": {
17-
"test": "tap test/*.js"
17+
"test": "tape test/*.js"
1818
},
1919
"repository": {
2020
"type": "git",
@@ -32,5 +32,8 @@
3232
"gitHead": "8831bd16c9e816764d66abbfb7054f27c40940d5",
3333
"bugs": {
3434
"url": "https://github.com/mikolalysenko/ndarray-fill/issues"
35+
},
36+
"browserify": {
37+
"transform": ["cwise"]
3538
}
3639
}

0 commit comments

Comments
 (0)