Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 03578ef

Browse files
author
daniel.gomez
committed
Fix wrong export in index
1 parent 86d76be commit 03578ef

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

‎package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "redux-autoform-utils",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "Common javascript files to all the redux-autoform related projects",
55
"main": "./lib/index.js",
66
"scripts": {

‎src/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/* Localizers */
2-
export * from './localization/dateLocalizer'
3-
export * from './localization/momentLocalizer'
4-
export * from './localization/numberLocalizer'
5-
export * from './localization/numbroLocalizer'
2+
export * from './localization/dateLocalizer';
3+
export * from './localization/momentLocalizer';
4+
export * from './localization/numberLocalizer';
5+
export * from './localization/numbroLocalizer';
66

77
/* Helpers */
88
export * from './helpers/dateTimeHelpers';
99
export * from './helpers/expressionHelper';
1010
export * from './helpers/metadataHelper';
1111

1212
/* Factory */
13-
export * from './factory/ComponentFactory';
13+
export ComponentFactory from './factory/ComponentFactory';

‎test/importTest.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ describe("Util test", function() {
99
expect(utils.getNumberLocalizer).to.be.a("function");
1010
expect(utils.setDateLocalizer).to.be.a("function");
1111
expect(utils.setNumberLocalizer).to.be.a("function");
12-
12+
13+
expect(new utils.ComponentFactory()).to.be.an("object");
14+
1315
done();
1416
})
1517
})

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /