You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by GitBox <gi...@apache.org> on 2018/08/22 17:02:19 UTC

[GitHub] nlu90 closed pull request #3003: Move license header in react dom components

nlu90 closed pull request #3003: Move license header in react dom components
URL: https://github.com/apache/incubator-heron/pull/3003
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/heron/tools/ui/resources/static/js/alltopologies.js b/heron/tools/ui/resources/static/js/alltopologies.js
index f9a806d9ad..f540ff6d19 100644
--- a/heron/tools/ui/resources/static/js/alltopologies.js
+++ b/heron/tools/ui/resources/static/js/alltopologies.js
@@ -1,3 +1,5 @@
+/** @jsx React.DOM */
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -17,8 +19,6 @@
  * under the License.
  */
 
-/** @jsx React.DOM */
-
 var TopologyItem = React.createClass({
   render: function() {
     var topology = this.props.topology;
diff --git a/heron/tools/ui/resources/static/js/common.js b/heron/tools/ui/resources/static/js/common.js
index 8d2c02eea1..f21d983a9b 100644
--- a/heron/tools/ui/resources/static/js/common.js
+++ b/heron/tools/ui/resources/static/js/common.js
@@ -1,3 +1,5 @@
+/** @jsx React.DOM */
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -17,8 +19,6 @@
  * under the License.
  */
 
-/** @jsx React.DOM */
-
 var ActionButton = React.createClass({
   render: function() {
     // Map containing key to destination links.
diff --git a/heron/tools/ui/resources/static/js/config.js b/heron/tools/ui/resources/static/js/config.js
index fa4367c45c..762fe2ba7d 100644
--- a/heron/tools/ui/resources/static/js/config.js
+++ b/heron/tools/ui/resources/static/js/config.js
@@ -1,3 +1,5 @@
+/** @jsx React.DOM */
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -17,8 +19,6 @@
  * under the License.
  */
 
-/** @jsx React.DOM */
-
 var ConfigTable = React.createClass({
   getInitialState: function() {
     return {
diff --git a/heron/tools/ui/resources/static/js/exceptions.js b/heron/tools/ui/resources/static/js/exceptions.js
index 04a8559590..baea39fa22 100644
--- a/heron/tools/ui/resources/static/js/exceptions.js
+++ b/heron/tools/ui/resources/static/js/exceptions.js
@@ -1,3 +1,5 @@
+/** @jsx React.DOM */
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -17,8 +19,6 @@
  * under the License.
  */
 
-/** @jsx React.DOM */
-
 // TODO(nbhagat): Aggregate exceptions for better display.
 // Requires baseUrl, cluster, environ, topology, comp_name, instance properties.
 var InstanceExceptionLogs = React.createClass({
diff --git a/heron/tools/ui/resources/static/js/topologies.js b/heron/tools/ui/resources/static/js/topologies.js
index fec489c403..2db0798c8b 100644
--- a/heron/tools/ui/resources/static/js/topologies.js
+++ b/heron/tools/ui/resources/static/js/topologies.js
@@ -1,3 +1,5 @@
+/** @jsx React.DOM */
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -17,8 +19,6 @@
  * under the License.
  */
 
-/** @jsx React.DOM */
-
 var SUM = 0,
     AVG = 1,
     LAST = 2;


 

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


With regards,
Apache Git Services