RynoRn commented on a change in pull request #182: NIFIREG-261 - Convert JS 
build to webpack
URL: https://github.com/apache/nifi-registry/pull/182#discussion_r281125418
 
 

 ##########
 File path: 
nifi-registry-core/nifi-registry-web-ui/src/main/webapp/nf-registry.js
 ##########
 @@ -80,23 +80,23 @@ NfRegistry.prototype = {
 };
 
 NfRegistry.annotations = [
-    new ngCore.Component({
+    new Component({
         selector: 'nf-registry-app',
-        template: require('./nf-registry.html!text'),
+        template: template,
 
 Review comment:
   Little bit nit-picking, feel free to ignore... but you can write these in a 
shorter syntax:
   
   ```
   {
        ...
        template,
        ...
   }
   ```

----------------------------------------------------------------
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