Explorar o código

HUE-111. Several files in the desktop/core/static/js/Source/BehaviorFilters are missing copyright headers

Aaron T. Myers %!s(int64=15) %!d(string=hai) anos
pai
achega
5d1103b2eb

+ 10 - 0
desktop/core/static/js/Source/BehaviorFilters/Behavior.ContextMenu.js

@@ -1,9 +1,19 @@
+// Licensed to Cloudera, Inc. under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  Cloudera, Inc. licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//     http://www.apache.org/licenses/LICENSE-2.0
 //
 // Unless required by applicable law or agreed to in writing, software
 // distributed under the License is distributed on an "AS IS" BASIS,
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
+
 /*
 ---
 description: Adds context menu support for any element with a data-context-menu-actions property and the ContextMenu data-filter. See the CCS.ContextMenu class for details on usage.

+ 1 - 1
desktop/core/static/js/Source/BehaviorFilters/Behavior.FilterInput.js

@@ -96,4 +96,4 @@ Behavior.addGlobalFilters({
 		});
 	}
 	
-});
+});

+ 4 - 1
desktop/core/static/js/Source/BehaviorFilters/Behavior.FormValidatorScroller.js

@@ -1,3 +1,6 @@
+// Licensed to Cloudera, Inc. under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
 // regarding copyright ownership.  Cloudera, Inc. licenses this file
 // to you under the Apache License, Version 2.0 (the
 // "License"); you may not use this file except in compliance
@@ -30,4 +33,4 @@ Behavior.addGlobalPlugin('FormValidator', 'FormValidatorScroller', function(elem
 		//not the window
 		scrollToErrorsOnSubmit: false
 	});
-});
+});

+ 3 - 0
desktop/core/static/js/Source/BehaviorFilters/Behavior.HtmlTableChromeHack.js

@@ -1,3 +1,6 @@
+// Licensed to Cloudera, Inc. under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
 // regarding copyright ownership.  Cloudera, Inc. licenses this file
 // to you under the Apache License, Version 2.0 (the
 // "License"); you may not use this file except in compliance

+ 4 - 1
desktop/core/static/js/Source/BehaviorFilters/Behavior.HtmlTableKeyboard.js

@@ -1,3 +1,6 @@
+// Licensed to Cloudera, Inc. under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
 // regarding copyright ownership.  Cloudera, Inc. licenses this file
 // to you under the Apache License, Version 2.0 (the
 // "License"); you may not use this file except in compliance
@@ -29,4 +32,4 @@ Behavior.addGlobalPlugin('HtmlTable', 'HtmlTableJFrame', function(element, metho
 		});
 	}
 
-});
+});

+ 4 - 1
desktop/core/static/js/Source/BehaviorFilters/Behavior.HtmlTableMultiSelectMenu.js

@@ -1,3 +1,6 @@
+// Licensed to Cloudera, Inc. under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
 // regarding copyright ownership.  Cloudera, Inc. licenses this file
 // to you under the Apache License, Version 2.0 (the
 // "License"); you may not use this file except in compliance
@@ -63,4 +66,4 @@ Behavior.addGlobalPlugin('HtmlTable', 'HtmlTableMutiSelect', function(element, m
 		});
 	}
 
-});
+});

+ 17 - 1
desktop/core/static/js/Source/BehaviorFilters/Behavior.MultiChecks.js

@@ -1,3 +1,19 @@
+// Licensed to Cloudera, Inc. under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  Cloudera, Inc. licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//     http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
 /*
 ---
 description: Allows users to hold down shift to select multiple check boxes.
@@ -47,4 +63,4 @@ script: Behavior.MultiChecks.js
 
 	});
 
-})();
+})();

+ 17 - 1
desktop/core/static/js/Source/BehaviorFilters/Behavior.SideBySideSelect.js

@@ -1,3 +1,19 @@
+// Licensed to Cloudera, Inc. under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  Cloudera, Inc. licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//     http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
 /*
 ---
 description: Automatically turns multi select inputs into an instance of ART.SideBySideSelect.
@@ -26,4 +42,4 @@ Behavior.addGlobalFilters({
 		});
 	}
 
-});
+});

+ 4 - 1
desktop/core/static/js/Source/BehaviorFilters/Behavior.SplitViewPostFold.js

@@ -1,3 +1,6 @@
+// Licensed to Cloudera, Inc. under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
 // regarding copyright ownership.  Cloudera, Inc. licenses this file
 // to you under the Apache License, Version 2.0 (the
 // "License"); you may not use this file except in compliance
@@ -31,4 +34,4 @@ Behavior.addGlobalPlugin('SplitView', 'SplitViewPostFoldRefresh', function(eleme
 			methods.invokeLinker('.ccs-fake_refresh', link, event);
 		}
 	});
-});
+});

+ 16 - 0
desktop/core/static/js/Source/BehaviorFilters/Behavior.Tabs.js

@@ -1,3 +1,19 @@
+// Licensed to Cloudera, Inc. under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  Cloudera, Inc. licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//     http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
 /*
 ---
 description: Adds a tab interface (TabSwapper instance) for elements with .css-tab_ui. Matched with tab elements that are .tabs and sections that are .tab_sections.

+ 15 - 0
desktop/core/static/js/Source/BehaviorFilters/Behavior.Tips.js

@@ -1,3 +1,18 @@
+// Licensed to Cloudera, Inc. under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  Cloudera, Inc. licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//     http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
 
 /*
 ---