Skip to content

Commit

Permalink
Merge pull request #381 from yhat/unicode
Browse files Browse the repository at this point in the history
show unicode
  • Loading branch information
TakenPilot authored Jul 14, 2016
2 parents 5e8e97f + 627f4e2 commit f4c6202
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ export default connect(mapStateToProps, mapDispatchToProps)(React.createClass({
render: function () {
const props = this.props,
items = props.items,
runLineTitle = process.platform === 'darwin' ? '⌘ + Enter' : 'Alt + Enter',
runScriptTitle = process.platform === 'darwin' ? '⌘ + Shift + Enter' : 'Alt + Shift + Enter',
types = {
'ace-pane': item => (
<AcePane
Expand Down Expand Up @@ -168,13 +170,13 @@ export default connect(mapStateToProps, mapDispatchToProps)(React.createClass({
>
<li><a className="icon-overflowing not-tab" onClick={props.onRodeo}><span /></a></li>
<li className="right">
<a className="not-tab" onClick={props.onRunActiveAcePane} title="Run Script">
<a className="not-tab" onClick={props.onRunActiveAcePane} title={runScriptTitle}>
<span className="fa fa-play-circle" />
<span className="icon-text-right">{'Run Script'}</span>
</a>
</li>
<li className="right">
<a className="not-tab" onClick={props.onRunActiveAcePaneSelection} title="Run Line">
<a className="not-tab" onClick={props.onRunActiveAcePaneSelection} title={runLineTitle}>
<span className="fa fa-play" />
<span className="icon-text-right">{'Run Line'}</span>
</a>
Expand Down
2 changes: 2 additions & 0 deletions src/browser/jsx/entry/free-tabs-only.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<html lang="en">
<head>
<title>Rodeo</title>
<meta charset="utf-8"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link id="rodeo-theme" href="themes/default.css" rel="stylesheet"/>
<script type="text/javascript">delete module;</script>
</head>
Expand Down
2 changes: 2 additions & 0 deletions src/browser/jsx/entry/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<html lang="en">
<head>
<title>Rodeo</title>
<meta charset="utf-8"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link id="rodeo-theme" href="themes/default.css" rel="stylesheet"/>
<script type="text/javascript">delete module;</script>
</head>
Expand Down
3 changes: 2 additions & 1 deletion src/browser/jsx/entry/startup.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
<!--suppress HtmlUnknownTarget -->
<html>
<head>
<meta charset="utf-8"/>
<title>Rodeo Startup</title>
<meta charset="utf-8"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link id="rodeo-theme" href="themes/default.css" rel="stylesheet"/>
<script type="text/javascript">delete module;</script>
</head>
Expand Down

0 comments on commit f4c6202

Please sign in to comment.