removed codemirror as we don't really need it and it's integration with angular is bugged

This commit is contained in:
Athou
2013-04-16 15:32:54 +02:00
parent af4e294a0c
commit 4fb7455e70
7 changed files with 8 additions and 77 deletions

View File

@@ -545,10 +545,7 @@ module.controller('SettingsCtrl', function($scope, $location, SettingsService) {
$scope.$watch('settingsService.settings', function(value) {
$scope.settings = angular.copy(value);
});
$scope.codeMirrorConfig = {
mode : 'css',
lineNumbers : true
};
$scope.cancel = function() {
SettingsService.init(function() {
$location.path('/');
@@ -557,7 +554,7 @@ module.controller('SettingsCtrl', function($scope, $location, SettingsService) {
$scope.save = function() {
SettingsService.settings = $scope.settings;
SettingsService.save(function() {
$location.path('/');
});
};
});