Browse Source

Removes copyright notices from file headers

Jamon Holmgren 6 years ago
parent
commit
bc3be5ecaa

+ 0
- 7
android/src/main/java/com/infinitered/webview/ReactWebViewManager.java View File

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
 package com.infinitered.webview;
1
 package com.infinitered.webview;
9
 
2
 
10
 import android.annotation.TargetApi;
3
 import android.annotation.TargetApi;

+ 0
- 7
android/src/main/java/com/infinitered/webview/WebViewConfig.java View File

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
 package com.infinitered.webview;
1
 package com.infinitered.webview;
9
 
2
 
10
 import android.webkit.WebView;
3
 import android.webkit.WebView;

+ 0
- 7
android/src/main/java/com/infinitered/webview/events/TopLoadingErrorEvent.java View File

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
 package com.infinitered.webview.events;
1
 package com.infinitered.webview.events;
9
 
2
 
10
 import com.facebook.react.bridge.WritableMap;
3
 import com.facebook.react.bridge.WritableMap;

+ 0
- 7
android/src/main/java/com/infinitered/webview/events/TopLoadingFinishEvent.java View File

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
 package com.infinitered.webview.events;
1
 package com.infinitered.webview.events;
9
 
2
 
10
 import com.facebook.react.bridge.WritableMap;
3
 import com.facebook.react.bridge.WritableMap;

+ 0
- 7
android/src/main/java/com/infinitered/webview/events/TopLoadingStartEvent.java View File

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
 package com.infinitered.webview.events;
1
 package com.infinitered.webview.events;
9
 
2
 
10
 import com.facebook.react.bridge.WritableMap;
3
 import com.facebook.react.bridge.WritableMap;

+ 0
- 7
android/src/main/java/com/infinitered/webview/events/TopMessageEvent.java View File

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
 package com.infinitered.webview.events;
1
 package com.infinitered.webview.events;
9
 
2
 
10
 import com.facebook.react.bridge.WritableMap;
3
 import com.facebook.react.bridge.WritableMap;

+ 0
- 10
examples/WebViewExample.js View File

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
 'use strict';
1
 'use strict';
12
 
2
 
13
 var React = require('react');
3
 var React = require('react');

+ 5
- 15
examples/XHRExampleCookies.js View File

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
 'use strict';
1
 'use strict';
12
 
2
 
13
 var React = require('react');
3
 var React = require('react');
14
 var ReactNative = require('react-native');
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
 var RCTNetworking = require('RCTNetworking');
7
 var RCTNetworking = require('RCTNetworking');
18
 
8
 
30
   }
20
   }
31
 
21
 
32
   setCookie(domain: string) {
22
   setCookie(domain: string) {
33
-    var {a, b} = this.state;
23
+    var { a, b } = this.state;
34
     var url = `https://${domain}/cookies/set?a=${a}&b=${b}`;
24
     var url = `https://${domain}/cookies/set?a=${a}&b=${b}`;
35
     fetch(url).then(response => {
25
     fetch(url).then(response => {
36
       this.setStatus(`Cookies a=${a}, b=${b} set`);
26
       this.setStatus(`Cookies a=${a}, b=${b} set`);
71
   }
61
   }
72
 
62
 
73
   setStatus(status: string) {
63
   setStatus(status: string) {
74
-    this.setState({status});
64
+    this.setState({ status });
75
   }
65
   }
76
 
66
 
77
   render() {
67
   render() {
122
         </TouchableHighlight>
112
         </TouchableHighlight>
123
         <WebView
113
         <WebView
124
           ref="webview"
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
       </View>
118
       </View>
129
     );
119
     );

+ 0
- 7
ios/RNCWebView.h View File

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
 #import <React/RCTView.h>
1
 #import <React/RCTView.h>
9
 
2
 
10
 @class RNCWebView;
3
 @class RNCWebView;

+ 0
- 7
ios/RNCWebView.m View File

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
 #import "RNCWebView.h"
1
 #import "RNCWebView.h"
9
 
2
 
10
 // #import <UIKit/UIKit.h>
3
 // #import <UIKit/UIKit.h>

+ 0
- 7
ios/RNCWebViewManager.h View File

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
 #import <React/RCTViewManager.h>
1
 #import <React/RCTViewManager.h>
9
 
2
 
10
 @interface RNCWebViewManager : RCTViewManager
3
 @interface RNCWebViewManager : RCTViewManager

+ 0
- 7
ios/RNCWebViewManager.m View File

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
 #import "RNCWebViewManager.h"
1
 #import "RNCWebViewManager.h"
9
 
2
 
10
 #import <React/RCTBridge.h>
3
 #import <React/RCTBridge.h>

+ 0
- 9
js/WebView.android.js View File

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
 'use strict';
1
 'use strict';
11
 
2
 
12
 import React from 'react';
3
 import React from 'react';

+ 0
- 9
js/WebView.integration.js View File

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
 'use strict';
1
 'use strict';
11
 
2
 
12
 const React = require('react');
3
 const React = require('react');

+ 0
- 10
js/WebView.ios.js View File

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
 'use strict';
1
 'use strict';
12
 
2
 
13
 import React from 'react';
3
 import React from 'react';

+ 0
- 10
js/WebViewShared.js View File

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
 'use strict';
1
 'use strict';
12
 
2
 
13
 const escapeStringRegexp = require('escape-string-regexp');
3
 const escapeStringRegexp = require('escape-string-regexp');

+ 0
- 9
js/WebViewShared.test.js View File

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
 'use strict';
1
 'use strict';
11
 
2
 
12
 const WebViewShared = require('WebViewShared');
3
 const WebViewShared = require('WebViewShared');