Skip to content

Commit

Permalink
release 3.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ximing committed May 23, 2017
1 parent 902ca9d commit e8f0c8f
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 15 deletions.
39 changes: 27 additions & 12 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,33 @@ Object.defineProperty(exports, "__esModule", {
});
exports.call = exports.getState = exports.put = exports.dispatch = exports.createModel = exports.handleActions = exports.handleAction = exports.createActions = exports.createAction = undefined;

var _lib = require('./lib');

Object.defineProperty(exports, 'dispatch', {
enumerable: true,
get: function get() {
return _lib.dispatch;
}
});
Object.defineProperty(exports, 'put', {
enumerable: true,
get: function get() {
return _lib.put;
}
});
Object.defineProperty(exports, 'getState', {
enumerable: true,
get: function get() {
return _lib.getState;
}
});
Object.defineProperty(exports, 'call', {
enumerable: true,
get: function get() {
return _lib.call;
}
});

var _router = require('../router');

var _reactRouterRedux = require('react-router-redux');
Expand Down Expand Up @@ -33,25 +60,13 @@ var _createModel2 = require('./createModel.js');

var _createModel3 = _interopRequireDefault(_createModel2);

var _lib = require('./lib');

var _lib2 = _interopRequireDefault(_lib);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

exports.createAction = _createAction3.default;
exports.createActions = _createActions3.default;
exports.handleAction = _handleAction3.default;
exports.handleActions = _handleActions3.default;
exports.createModel = _createModel3.default;
var dispatch = _lib2.default.dispatch,
put = _lib2.default.put,
getState = _lib2.default.getState,
call = _lib2.default.call;
exports.dispatch = dispatch;
exports.put = put;
exports.getState = getState;
exports.call = call;
exports.default = (0, _initRab2.default)({
initialReducer: { routing: _reactRouterRedux.routerReducer },
initialActions: {},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rabjs",
"version": "3.2.1",
"version": "3.2.2",
"description": "React and redux based framework.",
"repository": "",
"author": "yanzhi",
Expand Down
3 changes: 1 addition & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ export createActions from './redux/createActions';
export handleAction from './redux/handleAction.js';
export handleActions from './redux/handleActions.js';
export createModel from './createModel.js';
import Lib from './lib';
export const {dispatch,put,getState,call} = Lib;
export {dispatch,put,getState,call} from './lib';
export default initRab({
initialReducer: {routing},
initialActions:{},
Expand Down

0 comments on commit e8f0c8f

Please sign in to comment.