app/assets/javascripts/kms/application/controllers/snippets_controller.coffee.erb in kms-1.1.0 vs app/assets/javascripts/kms/application/controllers/snippets_controller.coffee.erb in kms-1.2.0
- old
+ new
@@ -1,9 +1,9 @@
SnippetsController = ($scope, $state, Restangular, $stateParams, Alertify, ErrorsService, hotkeys) ->
$scope.editorOptions =
lineNumbers: true
- mode:'htmlmixed'
+ mode: 'htmlmixedliquor'
autoCloseTags: true
matchBrackets: true
autoCloseBrackets: true
styleActiveLine: true
matchTags:
@@ -11,9 +11,10 @@
extraKeys:
"F11": (cm)->
cm.setOption("fullScreen", !cm.getOption("fullScreen"))
"Esc": (cm)->
if cm.getOption("fullScreen") then cm.setOption("fullScreen", false)
+ "Tab": 'emmetExpandAbbreviation'
$scope.store = Restangular.all('snippets')
$scope.store.getList().then (snippets)->
$scope.snippets = snippets