You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2018/09/13 16:21:51 UTC
[4/5] brooklyn-ui git commit: minor tidy as per PR review
minor tidy as per PR review
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/commit/1d2705c4
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/tree/1d2705c4
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/diff/1d2705c4
Branch: refs/heads/master
Commit: 1d2705c4d06b153408ad1e7983b93a3838d9a236
Parents: b8d7743
Author: Alex Heneveld <al...@cloudsoftcorp.com>
Authored: Thu Sep 13 13:50:06 2018 +0100
Committer: Alex Heneveld <al...@cloudsoftcorp.com>
Committed: Thu Sep 13 13:50:06 2018 +0100
----------------------------------------------------------------------
.../app/components/spec-editor/spec-editor.directive.js | 7 -------
1 file changed, 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/1d2705c4/ui-modules/blueprint-composer/app/components/spec-editor/spec-editor.directive.js
----------------------------------------------------------------------
diff --git a/ui-modules/blueprint-composer/app/components/spec-editor/spec-editor.directive.js b/ui-modules/blueprint-composer/app/components/spec-editor/spec-editor.directive.js
index 4ff2213..a6b19e8 100644
--- a/ui-modules/blueprint-composer/app/components/spec-editor/spec-editor.directive.js
+++ b/ui-modules/blueprint-composer/app/components/spec-editor/spec-editor.directive.js
@@ -365,13 +365,6 @@ export function specEditorDirective($rootScope, $templateCache, $injector, $sani
return issues.some(issue => issue.level === ISSUE_LEVEL.ERROR) ? 'badge-danger' : 'badge-warning';
};
- function baseType(s) {
- if (s && s.indexOf("<")>=0) {
- s = s.substring(0, s.indexOf("<"));
- }
- return s;
- }
-
function getConfigWidgetModeInternal(item, val) {
if (angular.element($document[0].activeElement).hasClass("form-control") && item.widgetMode) {
// don't switch mode in mid-edit, e.g. if you are manually typing $brooklyn:component("x").config("y")