浏览代码

Removed unused `optionEditor` directive from app.js

Pyfisch 11 年之前
父节点
当前提交
0c09f077aa
共有 1 个文件被更改,包括 0 次插入12 次删除
  1. 0 12
      gui/app.js

+ 0 - 12
gui/app.js

@@ -1064,18 +1064,6 @@ syncthing.filter('basename', function () {
     };
 });
 
-syncthing.directive('optionEditor', function () {
-    return {
-        restrict: 'C',
-        replace: true,
-        transclude: true,
-        scope: {
-            setting: '=setting',
-        },
-        template: '<input type="text" ng-model="config.Options[setting.id]"></input>',
-    };
-});
-
 syncthing.directive('uniqueRepo', function() {
     return {
         require: 'ngModel',