tbouron commented on a change in pull request #129: UI for defining parameters
URL: https://github.com/apache/brooklyn-ui/pull/129#discussion_r270353811
 
 

 ##########
 File path: 
ui-modules/blueprint-composer/app/components/spec-editor/spec-editor.directive.js
 ##########
 @@ -788,11 +938,11 @@ export function specEditorDirective($rootScope, 
$templateCache, $injector, $sani
             }
 
             // all other primitives treat as string (as they will get a 
string-based widget)
-            return ""+value;
+            return "" + value;
         }
 
         function getModelValueFromString(val) {
-            if (!specEditor.defined(val) || val==null || typeof val !== 
'string') {
+            if (!specEditor.defined(val) || val == null || typeof val !== 
'string') {
 
 Review comment:
   ```suggestion
               if (!specEditor.defined(val) || val === null || typeof val !== 
'string') {
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to