This is an automated email from the ASF dual-hosted git repository. heneveld pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git
commit 2315d3ffcbd8c53801be94b8be9ec2880e65eeeb Author: Alex Heneveld <[email protected]> AuthorDate: Thu Apr 22 22:14:26 2021 +0100 remove pointless quick fix directive --- .../app/components/quick-fix/quick-fix.html | 21 --------------------- .../app/components/quick-fix/quick-fix.js | 19 +------------------ .../app/components/quick-fix/quick-fix.less | 21 --------------------- 3 files changed, 1 insertion(+), 60 deletions(-) diff --git a/ui-modules/blueprint-composer/app/components/quick-fix/quick-fix.html b/ui-modules/blueprint-composer/app/components/quick-fix/quick-fix.html deleted file mode 100644 index e9bdb2e..0000000 --- a/ui-modules/blueprint-composer/app/components/quick-fix/quick-fix.html +++ /dev/null @@ -1,21 +0,0 @@ -<!-- - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. ---> -<span class="quick-fix"> - bob {{ foo }}. -</span> diff --git a/ui-modules/blueprint-composer/app/components/quick-fix/quick-fix.js b/ui-modules/blueprint-composer/app/components/quick-fix/quick-fix.js index 184de2c..36e1ce0 100644 --- a/ui-modules/blueprint-composer/app/components/quick-fix/quick-fix.js +++ b/ui-modules/blueprint-composer/app/components/quick-fix/quick-fix.js @@ -18,30 +18,13 @@ */ import angular from 'angular'; -import template from './quick-fix.html'; const MODULE_NAME = 'brooklyn.components.quick-fix.quick-fix'; -angular.module(MODULE_NAME, []) - .directive('quickFix', ['$rootScope', quickFixDirective]); +angular.module(MODULE_NAME, []); export default MODULE_NAME; -export function quickFixDirective($rootScope) { - return { - restrict: 'E', - template: template, - scope: { - issues: '=', - }, - link: link, - }; - - function link(scope, element, attrs, specEditor) { - console.log("quick-fix", attrs); - scope.foo = "hello"; - } -} export function computeQuickFixes(allIssues) { if (!allIssues) allIssues = {}; diff --git a/ui-modules/blueprint-composer/app/components/quick-fix/quick-fix.less b/ui-modules/blueprint-composer/app/components/quick-fix/quick-fix.less deleted file mode 100644 index 77412b2..0000000 --- a/ui-modules/blueprint-composer/app/components/quick-fix/quick-fix.less +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -quick-fix, .quick-fix { -}
