From bc3be5ecaad6719aff60d485524b155a241a45a7 Mon Sep 17 00:00:00 2001 From: Jamon Holmgren Date: Wed, 15 Aug 2018 19:25:15 -0700 Subject: [PATCH] Removes copyright notices from file headers --- .../webview/ReactWebViewManager.java | 7 ------- .../infinitered/webview/WebViewConfig.java | 7 ------- .../webview/events/TopLoadingErrorEvent.java | 7 ------- .../webview/events/TopLoadingFinishEvent.java | 7 ------- .../webview/events/TopLoadingStartEvent.java | 7 ------- .../webview/events/TopMessageEvent.java | 7 ------- examples/WebViewExample.js | 10 ---------- examples/XHRExampleCookies.js | 20 +++++-------------- ios/RNCWebView.h | 7 ------- ios/RNCWebView.m | 7 ------- ios/RNCWebViewManager.h | 7 ------- ios/RNCWebViewManager.m | 7 ------- js/WebView.android.js | 9 --------- js/WebView.integration.js | 9 --------- js/WebView.ios.js | 10 ---------- js/WebViewShared.js | 10 ---------- js/WebViewShared.test.js | 9 --------- 17 files changed, 5 insertions(+), 142 deletions(-) diff --git a/android/src/main/java/com/infinitered/webview/ReactWebViewManager.java b/android/src/main/java/com/infinitered/webview/ReactWebViewManager.java index b217a62..790076f 100644 --- a/android/src/main/java/com/infinitered/webview/ReactWebViewManager.java +++ b/android/src/main/java/com/infinitered/webview/ReactWebViewManager.java @@ -1,10 +1,3 @@ -/** - * Copyright (c) 2018-present, Infinite Red, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - package com.infinitered.webview; import android.annotation.TargetApi; diff --git a/android/src/main/java/com/infinitered/webview/WebViewConfig.java b/android/src/main/java/com/infinitered/webview/WebViewConfig.java index f5d468c..83de230 100644 --- a/android/src/main/java/com/infinitered/webview/WebViewConfig.java +++ b/android/src/main/java/com/infinitered/webview/WebViewConfig.java @@ -1,10 +1,3 @@ -/** - * Copyright (c) 2018-present, Infinite Red, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - package com.infinitered.webview; import android.webkit.WebView; diff --git a/android/src/main/java/com/infinitered/webview/events/TopLoadingErrorEvent.java b/android/src/main/java/com/infinitered/webview/events/TopLoadingErrorEvent.java index 070c7be..3b13e5a 100644 --- a/android/src/main/java/com/infinitered/webview/events/TopLoadingErrorEvent.java +++ b/android/src/main/java/com/infinitered/webview/events/TopLoadingErrorEvent.java @@ -1,10 +1,3 @@ -/** - * Copyright (c) 2018-present, Infinite Red, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - package com.infinitered.webview.events; import com.facebook.react.bridge.WritableMap; diff --git a/android/src/main/java/com/infinitered/webview/events/TopLoadingFinishEvent.java b/android/src/main/java/com/infinitered/webview/events/TopLoadingFinishEvent.java index 3843ed2..426275e 100644 --- a/android/src/main/java/com/infinitered/webview/events/TopLoadingFinishEvent.java +++ b/android/src/main/java/com/infinitered/webview/events/TopLoadingFinishEvent.java @@ -1,10 +1,3 @@ -/** - * Copyright (c) 2018-present, Infinite Red, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - package com.infinitered.webview.events; import com.facebook.react.bridge.WritableMap; diff --git a/android/src/main/java/com/infinitered/webview/events/TopLoadingStartEvent.java b/android/src/main/java/com/infinitered/webview/events/TopLoadingStartEvent.java index 9503b30..bb9fe97 100644 --- a/android/src/main/java/com/infinitered/webview/events/TopLoadingStartEvent.java +++ b/android/src/main/java/com/infinitered/webview/events/TopLoadingStartEvent.java @@ -1,10 +1,3 @@ -/** - * Copyright (c) 2018-present, Infinite Red, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - package com.infinitered.webview.events; import com.facebook.react.bridge.WritableMap; diff --git a/android/src/main/java/com/infinitered/webview/events/TopMessageEvent.java b/android/src/main/java/com/infinitered/webview/events/TopMessageEvent.java index 5a2060f..61f6927 100644 --- a/android/src/main/java/com/infinitered/webview/events/TopMessageEvent.java +++ b/android/src/main/java/com/infinitered/webview/events/TopMessageEvent.java @@ -1,10 +1,3 @@ -/** - * Copyright (c) 2018-present, Infinite Red, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - package com.infinitered.webview.events; import com.facebook.react.bridge.WritableMap; diff --git a/examples/WebViewExample.js b/examples/WebViewExample.js index 6037fb1..df4fba8 100644 --- a/examples/WebViewExample.js +++ b/examples/WebViewExample.js @@ -1,13 +1,3 @@ -/** - * Copyright (c) 2018-present, Infinite Red, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - * - * @format - * @flow - */ - 'use strict'; var React = require('react'); diff --git a/examples/XHRExampleCookies.js b/examples/XHRExampleCookies.js index df8b755..b1114ad 100644 --- a/examples/XHRExampleCookies.js +++ b/examples/XHRExampleCookies.js @@ -1,18 +1,8 @@ -/** - * Copyright (c) 2018-present, Infinite Red, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - * - * @format - * @flow - */ - 'use strict'; var React = require('react'); var ReactNative = require('react-native'); -var {StyleSheet, Text, TouchableHighlight, View, WebView} = ReactNative; +var { StyleSheet, Text, TouchableHighlight, View, WebView } = ReactNative; var RCTNetworking = require('RCTNetworking'); @@ -30,7 +20,7 @@ class XHRExampleCookies extends React.Component { } setCookie(domain: string) { - var {a, b} = this.state; + var { a, b } = this.state; var url = `https://${domain}/cookies/set?a=${a}&b=${b}`; fetch(url).then(response => { this.setStatus(`Cookies a=${a}, b=${b} set`); @@ -71,7 +61,7 @@ class XHRExampleCookies extends React.Component { } setStatus(status: string) { - this.setState({status}); + this.setState({ status }); } render() { @@ -122,8 +112,8 @@ class XHRExampleCookies extends React.Component { ); diff --git a/ios/RNCWebView.h b/ios/RNCWebView.h index caa5e4b..aa04c40 100644 --- a/ios/RNCWebView.h +++ b/ios/RNCWebView.h @@ -1,10 +1,3 @@ -/** - * Copyright (c) 2018-present, Infinite Red, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - #import @class RNCWebView; diff --git a/ios/RNCWebView.m b/ios/RNCWebView.m index 7502d6f..1c666a1 100644 --- a/ios/RNCWebView.m +++ b/ios/RNCWebView.m @@ -1,10 +1,3 @@ -/** - * Copyright (c) 2018-present, Infinite Red, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - #import "RNCWebView.h" // #import diff --git a/ios/RNCWebViewManager.h b/ios/RNCWebViewManager.h index d6ee53f..d2d2b0e 100644 --- a/ios/RNCWebViewManager.h +++ b/ios/RNCWebViewManager.h @@ -1,10 +1,3 @@ -/** - * Copyright (c) 2018-present, Infinite Red, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - #import @interface RNCWebViewManager : RCTViewManager diff --git a/ios/RNCWebViewManager.m b/ios/RNCWebViewManager.m index ee107cb..205f916 100644 --- a/ios/RNCWebViewManager.m +++ b/ios/RNCWebViewManager.m @@ -1,10 +1,3 @@ -/** - * Copyright (c) 2018-present, Infinite Red, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - #import "RNCWebViewManager.h" #import diff --git a/js/WebView.android.js b/js/WebView.android.js index 70ad1ac..d76d054 100644 --- a/js/WebView.android.js +++ b/js/WebView.android.js @@ -1,12 +1,3 @@ -/** - * Copyright (c) 2018-present, Infinite Red, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - * - * @format - */ - 'use strict'; import React from 'react'; diff --git a/js/WebView.integration.js b/js/WebView.integration.js index 1277a38..6e476f3 100644 --- a/js/WebView.integration.js +++ b/js/WebView.integration.js @@ -1,12 +1,3 @@ -/** - * Copyright (c) 2018-present, Infinite Red, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - * - * @format - */ - 'use strict'; const React = require('react'); diff --git a/js/WebView.ios.js b/js/WebView.ios.js index d82f1b3..af8dd94 100644 --- a/js/WebView.ios.js +++ b/js/WebView.ios.js @@ -1,13 +1,3 @@ -/** - * Copyright (c) 2018-present, Infinite Red, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - * - * @format - * @noflow - */ - 'use strict'; import React from 'react'; diff --git a/js/WebViewShared.js b/js/WebViewShared.js index e513d5f..aecd063 100644 --- a/js/WebViewShared.js +++ b/js/WebViewShared.js @@ -1,13 +1,3 @@ -/** - * Copyright (c) 2018-present, Infinite Red, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - * - * @format - * @flow - */ - 'use strict'; const escapeStringRegexp = require('escape-string-regexp'); diff --git a/js/WebViewShared.test.js b/js/WebViewShared.test.js index 360ac16..5d79b10 100644 --- a/js/WebViewShared.test.js +++ b/js/WebViewShared.test.js @@ -1,12 +1,3 @@ -/** - * Copyright (c) 2018-present, Infinite Red, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - * - * @format - */ - 'use strict'; const WebViewShared = require('WebViewShared');