浏览代码

Removes copyright notices from file headers

Jamon Holmgren 6 年前
父节点
当前提交
bc3be5ecaa

+ 0
- 7
android/src/main/java/com/infinitered/webview/ReactWebViewManager.java 查看文件

@@ -1,10 +1,3 @@
1
-/**
2
- * Copyright (c) 2018-present, Infinite Red, Inc.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */
7
-
8 1
 package com.infinitered.webview;
9 2
 
10 3
 import android.annotation.TargetApi;

+ 0
- 7
android/src/main/java/com/infinitered/webview/WebViewConfig.java 查看文件

@@ -1,10 +1,3 @@
1
-/**
2
- * Copyright (c) 2018-present, Infinite Red, Inc.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */
7
-
8 1
 package com.infinitered.webview;
9 2
 
10 3
 import android.webkit.WebView;

+ 0
- 7
android/src/main/java/com/infinitered/webview/events/TopLoadingErrorEvent.java 查看文件

@@ -1,10 +1,3 @@
1
-/**
2
- * Copyright (c) 2018-present, Infinite Red, Inc.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */
7
-
8 1
 package com.infinitered.webview.events;
9 2
 
10 3
 import com.facebook.react.bridge.WritableMap;

+ 0
- 7
android/src/main/java/com/infinitered/webview/events/TopLoadingFinishEvent.java 查看文件

@@ -1,10 +1,3 @@
1
-/**
2
- * Copyright (c) 2018-present, Infinite Red, Inc.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */
7
-
8 1
 package com.infinitered.webview.events;
9 2
 
10 3
 import com.facebook.react.bridge.WritableMap;

+ 0
- 7
android/src/main/java/com/infinitered/webview/events/TopLoadingStartEvent.java 查看文件

@@ -1,10 +1,3 @@
1
-/**
2
- * Copyright (c) 2018-present, Infinite Red, Inc.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */
7
-
8 1
 package com.infinitered.webview.events;
9 2
 
10 3
 import com.facebook.react.bridge.WritableMap;

+ 0
- 7
android/src/main/java/com/infinitered/webview/events/TopMessageEvent.java 查看文件

@@ -1,10 +1,3 @@
1
-/**
2
- * Copyright (c) 2018-present, Infinite Red, Inc.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */
7
-
8 1
 package com.infinitered.webview.events;
9 2
 
10 3
 import com.facebook.react.bridge.WritableMap;

+ 0
- 10
examples/WebViewExample.js 查看文件

@@ -1,13 +1,3 @@
1
-/**
2
- * Copyright (c) 2018-present, Infinite Red, Inc.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @format
8
- * @flow
9
- */
10
-
11 1
 'use strict';
12 2
 
13 3
 var React = require('react');

+ 5
- 15
examples/XHRExampleCookies.js 查看文件

@@ -1,18 +1,8 @@
1
-/**
2
- * Copyright (c) 2018-present, Infinite Red, Inc.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @format
8
- * @flow
9
- */
10
-
11 1
 'use strict';
12 2
 
13 3
 var React = require('react');
14 4
 var ReactNative = require('react-native');
15
-var {StyleSheet, Text, TouchableHighlight, View, WebView} = ReactNative;
5
+var { StyleSheet, Text, TouchableHighlight, View, WebView } = ReactNative;
16 6
 
17 7
 var RCTNetworking = require('RCTNetworking');
18 8
 
@@ -30,7 +20,7 @@ class XHRExampleCookies extends React.Component<any, any> {
30 20
   }
31 21
 
32 22
   setCookie(domain: string) {
33
-    var {a, b} = this.state;
23
+    var { a, b } = this.state;
34 24
     var url = `https://${domain}/cookies/set?a=${a}&b=${b}`;
35 25
     fetch(url).then(response => {
36 26
       this.setStatus(`Cookies a=${a}, b=${b} set`);
@@ -71,7 +61,7 @@ class XHRExampleCookies extends React.Component<any, any> {
71 61
   }
72 62
 
73 63
   setStatus(status: string) {
74
-    this.setState({status});
64
+    this.setState({ status });
75 65
   }
76 66
 
77 67
   render() {
@@ -122,8 +112,8 @@ class XHRExampleCookies extends React.Component<any, any> {
122 112
         </TouchableHighlight>
123 113
         <WebView
124 114
           ref="webview"
125
-          source={{uri: 'http://httpbin.org/cookies'}}
126
-          style={{height: 100}}
115
+          source={{ uri: 'http://httpbin.org/cookies' }}
116
+          style={{ height: 100 }}
127 117
         />
128 118
       </View>
129 119
     );

+ 0
- 7
ios/RNCWebView.h 查看文件

@@ -1,10 +1,3 @@
1
-/**
2
- * Copyright (c) 2018-present, Infinite Red, Inc.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */
7
-
8 1
 #import <React/RCTView.h>
9 2
 
10 3
 @class RNCWebView;

+ 0
- 7
ios/RNCWebView.m 查看文件

@@ -1,10 +1,3 @@
1
-/**
2
- * Copyright (c) 2018-present, Infinite Red, Inc.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */
7
-
8 1
 #import "RNCWebView.h"
9 2
 
10 3
 // #import <UIKit/UIKit.h>

+ 0
- 7
ios/RNCWebViewManager.h 查看文件

@@ -1,10 +1,3 @@
1
-/**
2
- * Copyright (c) 2018-present, Infinite Red, Inc.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */
7
-
8 1
 #import <React/RCTViewManager.h>
9 2
 
10 3
 @interface RNCWebViewManager : RCTViewManager

+ 0
- 7
ios/RNCWebViewManager.m 查看文件

@@ -1,10 +1,3 @@
1
-/**
2
- * Copyright (c) 2018-present, Infinite Red, Inc.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */
7
-
8 1
 #import "RNCWebViewManager.h"
9 2
 
10 3
 #import <React/RCTBridge.h>

+ 0
- 9
js/WebView.android.js 查看文件

@@ -1,12 +1,3 @@
1
-/**
2
- * Copyright (c) 2018-present, Infinite Red, Inc.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @format
8
- */
9
-
10 1
 'use strict';
11 2
 
12 3
 import React from 'react';

+ 0
- 9
js/WebView.integration.js 查看文件

@@ -1,12 +1,3 @@
1
-/**
2
- * Copyright (c) 2018-present, Infinite Red, Inc.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @format
8
- */
9
-
10 1
 'use strict';
11 2
 
12 3
 const React = require('react');

+ 0
- 10
js/WebView.ios.js 查看文件

@@ -1,13 +1,3 @@
1
-/**
2
- * Copyright (c) 2018-present, Infinite Red, Inc.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @format
8
- * @noflow
9
- */
10
-
11 1
 'use strict';
12 2
 
13 3
 import React from 'react';

+ 0
- 10
js/WebViewShared.js 查看文件

@@ -1,13 +1,3 @@
1
-/**
2
- * Copyright (c) 2018-present, Infinite Red, Inc.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @format
8
- * @flow
9
- */
10
-
11 1
 'use strict';
12 2
 
13 3
 const escapeStringRegexp = require('escape-string-regexp');

+ 0
- 9
js/WebViewShared.test.js 查看文件

@@ -1,12 +1,3 @@
1
-/**
2
- * Copyright (c) 2018-present, Infinite Red, Inc.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @format
8
- */
9
-
10 1
 'use strict';
11 2
 
12 3
 const WebViewShared = require('WebViewShared');