Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Aerilius committed Aug 13, 2017
1 parent e4e4fbe commit 0222cd9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
7 changes: 6 additions & 1 deletion src/ae_console/css/console.css
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,12 @@ table {
opacity: 0.5;
}

#consoleOutput .message.error .header:not(:only-child) { /* is followed by .backtrace */
#consoleOutput .message.error .header {
color: #ca0000;
}

#consoleOutput .message.error .header:not(:only-child),
#consoleOutput .message.warn .header:not(:only-child) { /* only .header if followed by .backtrace */
cursor: pointer;
}

Expand Down
4 changes: 2 additions & 2 deletions src/ae_console/features/feature_documentation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def lookup(tokens, binding)
end

def get_javascript_string
<<JAVASCRIPT
<<-'JAVASCRIPT'
requirejs(['app', 'bridge', 'translate', 'window_geometry', 'get_current_tokens', 'bootstrap-notify'], function (app, Bridge, Translate, WindowGeometry, getCurrentTokens, _) {
// Publish window_geometry to allow Bridge to call it. TODO: not very elegant.
Expand All @@ -127,7 +127,7 @@ def get_javascript_string
var tokens = getCurrentTokens(app.editor.aceEditor);
Bridge.call('open_help', tokens);
} else {
$.notify(Translate.get('The help function can only lookup Ruby documentation.' + ' \\n' +
$.notify(Translate.get('The help function can only lookup Ruby documentation.' + ' \n' +
Translate.get('If this is Ruby code, set the edit mode in the menu.')), {
type: 'warning',
element: $('#editorContentWrapper'),
Expand Down
2 changes: 0 additions & 2 deletions src/ae_console/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ define(['ace/ace', 'jquery', 'bootstrap', 'bootstrap-notify', 'bootstrap-filterl
initializeEditorUI(editor, settings);
configureAce(editorAceEditor);

//switchToConsole(true); // default

settings.getProperty('console_active').addListener('change', function (isActive) {
if (isActive) {
switchToConsole();
Expand Down

0 comments on commit 0222cd9

Please sign in to comment.