Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
cantino committed Mar 30, 2016
1 parent e216686 commit 6c63d63
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion app/assets/javascripts/pages/agent-edit-page.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ class @AgentEditPage
session.setTabSize(2)
session.setUseSoftTabs(true)
session.setUseWrapMode(false)
editor.setTheme("ace/theme/chrome")

setSyntax = ->
switch $("[name='agent[options][language]']").val()
Expand Down
3 changes: 1 addition & 2 deletions app/assets/javascripts/pages/user-credential-page.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ class @UserCredentialPage
editor.getSession().setTabSize(2)
editor.getSession().setUseSoftTabs(true)
editor.getSession().setUseWrapMode(false)
editor.setTheme("ace/theme/chrome")

setMode = ->
mode = $("#user_credential_mode").val()
Expand All @@ -23,4 +22,4 @@ class @UserCredentialPage
$textarea.val(editor.getSession().getValue())

$ ->
Utils.registerPage(UserCredentialPage, forPathsMatching: /^user_credentials\/\d+/)
Utils.registerPage(UserCredentialPage, forPathsMatching: /^user_credentials\/\d+/)

0 comments on commit 6c63d63

Please sign in to comment.