commit c69ffc11432ebdb1294a5f4d3bb02bd4d99dec41
parent 754d9fde6f4e458466b3fcb2e27695bb8a26c74f
Author: Konstantin Tarkus <hello@tarkus.me>
Date: Mon, 22 Dec 2014 09:15:03 +0300
Fix code style in PR #45
Diffstat:
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/src/constants/ActionTypes.js b/src/constants/ActionTypes.js
@@ -5,8 +5,12 @@
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
+
+'use strict';
+
var keyMirror = require('react/lib/keyMirror');
-module.exports = keyMirror({
+
+var ActionTypes = keyMirror({
// Route action types
SET_CURRENT_ROUTE: null,
@@ -15,3 +19,5 @@ module.exports = keyMirror({
SET_CURRENT_PAGE: null
});
+
+module.exports = ActionTypes;
diff --git a/src/constants/PayloadSources.js b/src/constants/PayloadSources.js
@@ -5,10 +5,16 @@
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
+
+'use strict';
+
var keyMirror = require('react/lib/keyMirror');
-module.exports = keyMirror({
+
+var PayloadSources = keyMirror({
VIEW_ACTION: null,
SERVER_ACTION: null
});
+
+module.exports = PayloadSources;