You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by nl...@apache.org on 2018/08/22 17:02:20 UTC
[incubator-heron] branch master updated: Move license header in
react dom components (#3003)
This is an automated email from the ASF dual-hosted git repository.
nlu90 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git
The following commit(s) were added to refs/heads/master by this push:
new 3c4ec25 Move license header in react dom components (#3003)
3c4ec25 is described below
commit 3c4ec25dc464ed3bc4dfcf7df78346dc38efec71
Author: Ning Wang <nw...@twitter.com>
AuthorDate: Wed Aug 22 10:02:17 2018 -0700
Move license header in react dom components (#3003)
* Move license header in react dom components
* remove empty line at beginning
---
heron/tools/ui/resources/static/js/alltopologies.js | 4 ++--
heron/tools/ui/resources/static/js/common.js | 4 ++--
heron/tools/ui/resources/static/js/config.js | 4 ++--
heron/tools/ui/resources/static/js/exceptions.js | 4 ++--
heron/tools/ui/resources/static/js/topologies.js | 4 ++--
5 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/heron/tools/ui/resources/static/js/alltopologies.js b/heron/tools/ui/resources/static/js/alltopologies.js
index f9a806d..f540ff6 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 8d2c02e..f21d983 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 fa4367c..762fe2b 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 04a8559..baea39f 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 fec489c..2db0798 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;