Removes copyright notices from file headers
This commit is contained in:
parent
eb99f1e4b3
commit
bc3be5ecaa
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -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<any, any> {
|
|||
}
|
||||
|
||||
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<any, any> {
|
|||
}
|
||||
|
||||
setStatus(status: string) {
|
||||
this.setState({status});
|
||||
this.setState({ status });
|
||||
}
|
||||
|
||||
render() {
|
||||
|
@ -122,8 +112,8 @@ class XHRExampleCookies extends React.Component<any, any> {
|
|||
</TouchableHighlight>
|
||||
<WebView
|
||||
ref="webview"
|
||||
source={{uri: 'http://httpbin.org/cookies'}}
|
||||
style={{height: 100}}
|
||||
source={{ uri: 'http://httpbin.org/cookies' }}
|
||||
style={{ height: 100 }}
|
||||
/>
|
||||
</View>
|
||||
);
|
||||
|
|
|
@ -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 <React/RCTView.h>
|
||||
|
||||
@class RNCWebView;
|
||||
|
|
|
@ -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 <UIKit/UIKit.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 <React/RCTViewManager.h>
|
||||
|
||||
@interface RNCWebViewManager : RCTViewManager
|
||||
|
|
|
@ -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 <React/RCTBridge.h>
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue