Skip to content
This repository was archived by the owner on Nov 12, 2019. It is now read-only.

Commit

Permalink
fix(selectview): small typo in module name
Browse files Browse the repository at this point in the history
chore(version): bump version to 1.1.0, rebuild
  • Loading branch information
Mahdi Dibaiee committed Oct 24, 2015
1 parent dfb7d8a commit 735ef7f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
12 changes: 10 additions & 2 deletions build/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -42582,6 +42582,8 @@ var _actionsDialog = require('actions/dialog');

var _actionsMenu = require('actions/menu');

var _actionsFile = require('actions/file');

var _actionsSettings = require('actions/settings');

var _actionsSettings2 = _interopRequireDefault(_actionsSettings);
Expand Down Expand Up @@ -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-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-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' })
);
}
Expand Down Expand Up @@ -42639,6 +42641,12 @@ var Toolbar = (function (_Component) {

_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',
value: function newFile() {
Expand All @@ -42664,7 +42672,7 @@ var Toolbar = (function (_Component) {
exports['default'] = Toolbar;
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';

Object.defineProperty(exports, '__esModule', {
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": "hawk",
"version": "1.0.1",
"version": "1.1.0",
"description": "",
"main": "index.js",
"repository": {
Expand Down
Binary file added releases/hawk-1.1.0.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion src/js/components/toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { Component } from 'react';
import { refresh, selectView } from 'actions/files-view';
import { show as showDialog } from 'actions/dialog';
import { show as showMenu } from 'actions/menu';
import active from 'actions/active-file';
import { active } from 'actions/file';
import settings from 'actions/settings';
import store, { bind } from 'store';
import { MENU_WIDTH } from './menu';
Expand Down

0 comments on commit 735ef7f

Please sign in to comment.