diff --git a/src/app/commands.js b/src/app/commands.js index 389aa1b..ccd5e71 100644 --- a/src/app/commands.js +++ b/src/app/commands.js @@ -19,13 +19,6 @@ export default { cmd.commands({ 'help': function(c) { - // TODO: implement latest behavior - pull up help result to the top - // var helpResult = document.querySelector('.result .helpResultTpl'); - // if(helpResult != null) { - // moveResultUp(helpResult); - // return; - // } - appState.addCommandResult(new HelpResult(c.input)); }, 'clear': function() { @@ -41,12 +34,6 @@ export default { appState.setUiTheme('light'); }, 'about': function(c) { - // - // TODO: var aboutResult = document.querySelector('.result .aboutTpl'); - // if(aboutResult != null) { - // moveResultUp(aboutResult); - // return; - // } appState.addCommandResult(new AboutResult(c.input)); }, '-debug': function() { diff --git a/src/app/components/results/HelpResultView.jsx b/src/app/components/results/HelpResultView.jsx index 993ac2f..7e1cdff 100644 --- a/src/app/components/results/HelpResultView.jsx +++ b/src/app/components/results/HelpResultView.jsx @@ -5,7 +5,7 @@ export default class HelpResultView extends React.Component { return
-

+

Supported Commands
  • 23 ^ 34 — type bitwise expression to see result in binary (only positive integers are supported now)
  • @@ -17,10 +17,10 @@ export default class HelpResultView extends React.Component {
  • light — set Light theme
  • about — about the app
-

+
-

+

Supported Bitwise Operations
@@ -36,7 +36,7 @@ export default class HelpResultView extends React.Component {
  • >> — sign propagating right shift
  • >>> — zero-fill right shift
  • -

    +
    ;