Comparing version 0.1.24 to 0.1.25
@@ -6,3 +6,3 @@ 'use strict'; | ||
}); | ||
exports.default = exports.Section = exports.ClientRoute = exports.global = exports.ReForm = exports.ReLink = exports.AjaxPage = exports.dispatch = exports.pageStore = exports.ReshowComponent = exports.reshow = exports.Dispatcher = exports.ReduceStore = undefined; | ||
exports.default = exports.ReshowRealTimeComponent = exports.ReshowComponent = exports.Section = exports.ClientRoute = exports.global = exports.ReForm = exports.ReLink = exports.AjaxPage = exports.dispatch = exports.realTimeStore = exports.pageStore = exports.reshow = exports.Dispatcher = exports.ReduceStore = undefined; | ||
@@ -24,20 +24,2 @@ var _reduceFlux = require('reduce-flux'); | ||
var _ReshowComponent = require('../ui/organisms/ReshowComponent'); | ||
Object.defineProperty(exports, 'ReshowComponent', { | ||
enumerable: true, | ||
get: function get() { | ||
return _interopRequireDefault(_ReshowComponent).default; | ||
} | ||
}); | ||
var _pageStore = require('./stores/pageStore'); | ||
Object.defineProperty(exports, 'pageStore', { | ||
enumerable: true, | ||
get: function get() { | ||
return _interopRequireDefault(_pageStore).default; | ||
} | ||
}); | ||
var _dispatcher = require('./actions/dispatcher'); | ||
@@ -86,2 +68,10 @@ | ||
var _pageStore2 = require('./stores/pageStore'); | ||
var _pageStore3 = _interopRequireDefault(_pageStore2); | ||
var _realTimeStore2 = require('./stores/realTimeStore'); | ||
var _realTimeStore3 = _interopRequireDefault(_realTimeStore2); | ||
var _ClientRoute2 = require('../ui/organisms/ClientRoute'); | ||
@@ -95,2 +85,10 @@ | ||
var _ReshowComponent2 = require('../ui/organisms/ReshowComponent'); | ||
var _ReshowComponent3 = _interopRequireDefault(_ReshowComponent2); | ||
var _ReshowRealTimeComponent2 = require('../ui/organisms/ReshowRealTimeComponent'); | ||
var _ReshowRealTimeComponent3 = _interopRequireDefault(_ReshowRealTimeComponent2); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -100,3 +98,9 @@ | ||
// Stores | ||
exports.pageStore = _pageStore3.default; | ||
exports.realTimeStore = _realTimeStore3.default; | ||
// Dispatch | ||
// Router | ||
@@ -107,2 +111,5 @@ var global = exports.global = {}; | ||
// Default | ||
// Component | ||
exports.ReshowComponent = _ReshowComponent3.default; | ||
exports.ReshowRealTimeComponent = _ReshowRealTimeComponent3.default; |
@@ -16,2 +16,6 @@ 'use strict'; | ||
var _getObjectValue = require('get-object-value'); | ||
var _getObjectValue2 = _interopRequireDefault(_getObjectValue); | ||
var _index = require('../../src/index'); | ||
@@ -68,6 +72,14 @@ | ||
value: function update(params) { | ||
(0, _index.dispatch)({ | ||
type: 'config/set', | ||
params: params | ||
}); | ||
var realTimeData = (0, _getObjectValue2.default)(params, ['--realTimeData--']); | ||
if (realTimeData) { | ||
(0, _index.dispatch)({ | ||
type: 'realTime', | ||
params: params | ||
}); | ||
} else { | ||
(0, _index.dispatch)({ | ||
type: 'config/set', | ||
params: params | ||
}); | ||
} | ||
} | ||
@@ -74,0 +86,0 @@ }, { |
{ | ||
"name": "reshow", | ||
"version": "0.1.24", | ||
"version": "0.1.25", | ||
"description": "Flux Reducer Present Library", | ||
@@ -5,0 +5,0 @@ "main": "./build/src/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31437
11
555