Skip to content

Commit 8e48ae1

Browse files
author
Pavlo Aksonov
committed
Merge pull request #5 from mull/feature/minification-issues
Add string names to avoid obfuscation
2 parents a918316 + 7710abb commit 8e48ae1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

FetchActions.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var alt = require('./alt');
22

3-
class Actions {
3+
class FetchActions {
44
fetch(route, data){
55
this.dispatch({route, data});
66
}
@@ -23,4 +23,4 @@ class Actions {
2323
}
2424

2525

26-
module.exports = alt.createActions(Actions);
26+
module.exports = alt.createActions(FetchActions, "FetchActions");

actions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ class Actions {
77
}
88
}
99

10-
module.exports = alt.createActions(Actions);
10+
module.exports = alt.createActions(Actions, "Actions");

store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ class RouterStore {
5252
}
5353

5454

55-
module.exports = alt.createStore(RouterStore);
55+
module.exports = alt.createStore(RouterStore, "RouterStore");

0 commit comments

Comments
 (0)