fix(selectview): small typo in module name

chore(version): bump version to 1.1.0, rebuild
This commit is contained in:
Mahdi Dibaiee 2015-10-24 18:49:25 +03:30
parent dfb7d8aa72
commit 735ef7fa7b
4 changed files with 12 additions and 4 deletions

View File

@ -42582,6 +42582,8 @@ var _actionsDialog = require('actions/dialog');
var _actionsMenu = require('actions/menu'); var _actionsMenu = require('actions/menu');
var _actionsFile = require('actions/file');
var _actionsSettings = require('actions/settings'); var _actionsSettings = require('actions/settings');
var _actionsSettings2 = _interopRequireDefault(_actionsSettings); var _actionsSettings2 = _interopRequireDefault(_actionsSettings);
@ -42610,7 +42612,7 @@ var Toolbar = (function (_Component) {
_react2['default'].createElement('button', { className: 'icon-back tour-item', onClick: this.goUp }), _react2['default'].createElement('button', { className: 'icon-back tour-item', onClick: this.goUp }),
_react2['default'].createElement('button', { className: 'icon-plus tour-item', onClick: this.newFile }), _react2['default'].createElement('button', { className: 'icon-plus tour-item', onClick: this.newFile }),
_react2['default'].createElement('button', { className: 'icon-refresh tour-item', onClick: (0, _store.bind)((0, _actionsFilesView.refresh)()) }), _react2['default'].createElement('button', { className: 'icon-refresh tour-item', onClick: (0, _store.bind)((0, _actionsFilesView.refresh)()) }),
_react2['default'].createElement('button', { className: 'icon-select tour-item', onClick: (0, _store.bind)((0, _actionsFilesView.selectView)('toggle')) }), _react2['default'].createElement('button', { className: 'icon-select tour-item', onClick: this.selectView }),
_react2['default'].createElement('button', { className: 'icon-more tour-item', onClick: this.showMore.bind(this), ref: 'more' }) _react2['default'].createElement('button', { className: 'icon-more tour-item', onClick: this.showMore.bind(this), ref: 'more' })
); );
} }
@ -42639,6 +42641,12 @@ var Toolbar = (function (_Component) {
_store2['default'].dispatch(changedir(up)); _store2['default'].dispatch(changedir(up));
} }
}, {
key: 'selectView',
value: function selectView() {
_store2['default'].dispatch((0, _actionsFilesView.selectView)('toggle'));
_store2['default'].dispatch((0, _actionsFile.active)());
}
}, { }, {
key: 'newFile', key: 'newFile',
value: function newFile() { value: function newFile() {
@ -42664,7 +42672,7 @@ var Toolbar = (function (_Component) {
exports['default'] = Toolbar; exports['default'] = Toolbar;
module.exports = exports['default']; module.exports = exports['default'];
},{"./menu":279,"actions/dialog":262,"actions/files-view":264,"actions/menu":265,"actions/settings":268,"react":250,"store":"store"}],285:[function(require,module,exports){ },{"./menu":279,"actions/dialog":262,"actions/file":263,"actions/files-view":264,"actions/menu":265,"actions/settings":268,"react":250,"store":"store"}],285:[function(require,module,exports){
'use strict'; 'use strict';
Object.defineProperty(exports, '__esModule', { Object.defineProperty(exports, '__esModule', {

View File

@ -1,6 +1,6 @@
{ {
"name": "hawk", "name": "hawk",
"version": "1.0.1", "version": "1.1.0",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"repository": { "repository": {

BIN
releases/hawk-1.1.0.zip Normal file

Binary file not shown.

View File

@ -2,7 +2,7 @@ import React, { Component } from 'react';
import { refresh, selectView } from 'actions/files-view'; import { refresh, selectView } from 'actions/files-view';
import { show as showDialog } from 'actions/dialog'; import { show as showDialog } from 'actions/dialog';
import { show as showMenu } from 'actions/menu'; import { show as showMenu } from 'actions/menu';
import active from 'actions/active-file'; import { active } from 'actions/file';
import settings from 'actions/settings'; import settings from 'actions/settings';
import store, { bind } from 'store'; import store, { bind } from 'store';
import { MENU_WIDTH } from './menu'; import { MENU_WIDTH } from './menu';