Removes copyright notices from file headers

This commit is contained in:
Jamon Holmgren 2018-08-15 19:25:15 -07:00
parent eb99f1e4b3
commit bc3be5ecaa
17 changed files with 5 additions and 142 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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');

View File

@ -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>
);

View File

@ -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;

View File

@ -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>

View File

@ -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

View File

@ -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>

View File

@ -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';

View File

@ -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');

View File

@ -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';

View File

@ -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');

View File

@ -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');