Skip to content
This repository was archived by the owner on Aug 17, 2024. It is now read-only.

Commit 448bc53

Browse files
committed
Merge branch 'hotfix/addingcommonjs'
2 parents d3cb123 + dafdf61 commit 448bc53

File tree

19 files changed

+12881
-2321
lines changed

19 files changed

+12881
-2321
lines changed

.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"presets": ["es2015", "stage-0", "minify"],
2+
"presets": ["es2015", "stage-0"],
33
"plugins": ["transform-runtime"]
44
}

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
---
44

5+
## v0.2.4
6+
7+
**Author**: Guillaume Mousnier.
8+
9+
**Type**: Hotfix
10+
11+
**Changes**:
12+
- Correcting (maybe more an alternative) for babel related static method error.
13+
- Adding webpack to compile browser version.
14+
15+
---
16+
517
## v0.2.3
618

719
**Author**: Guillaume Mousnier.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# dataframe-js
2-
**v0.2.3**
2+
**v0.2.4**
33

44
## Presentation
55

@@ -236,10 +236,10 @@ const df2 = df.withColumn('column4', (row) => row.get('column2') * 2)
236236
df.fakemodule.test(8)
237237
```
238238

239-
If you want to change default modules (modules enabled in each DataFrame instance, such as Matrix and Stat) you can define them by a static method:
239+
If you want to change default modules (modules enabled in each DataFrame instance, such as Matrix and Stat) you can define them by a static property:
240240

241241
```javascript
242-
DataFrame.setDefaultModules(fakeModule, Matrix);
242+
DataFrame.defaultModules = [fakeModule, Matrix];
243243
```
244244

245245
If you want to create your own module, take a look at the Statisticical module (integrated by default) `./src/modules/stat.js` as example.

dataframe-js-min.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

lib/browser/dataframe-min.js

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)