Skip to content

Commit ee395de

Browse files
committed
Update license on example server/cient. (facebookincubator#356)
1 parent fa129d3 commit ee395de

File tree

14 files changed

+99
-29
lines changed

14 files changed

+99
-29
lines changed

LICENSE-examples

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Copyright (c) 2016-present, Facebook, Inc. All rights reserved.
2+
3+
The examples provided by Facebook are for non-commercial testing and evaluation
4+
purposes only. Facebook reserves all rights not expressly granted.
5+
6+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
7+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
8+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
9+
FACEBOOK BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
10+
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
11+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

TestChat/TCAppDelegate.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
//
2-
// TCAppDelegate.h
3-
// TestChat
2+
// Copyright 2012 Square Inc.
3+
// Portions Copyright (c) 2016-present, Facebook, Inc.
4+
// All rights reserved.
45
//
5-
// Created by Mike Lewis on 1/28/12.
6-
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
6+
// This source code is licensed under the license found in the
7+
// LICENSE-examples file in the root directory of this source tree.
78
//
89

910
#import <UIKit/UIKit.h>

TestChat/TCAppDelegate.m

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
//
2-
// TCAppDelegate.m
3-
// TestChat
2+
// Copyright 2012 Square Inc.
3+
// Portions Copyright (c) 2016-present, Facebook, Inc.
4+
// All rights reserved.
45
//
5-
// Created by Mike Lewis on 1/28/12.
6-
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
6+
// This source code is licensed under the license found in the
7+
// LICENSE-examples file in the root directory of this source tree.
78
//
89

910
#import "TCAppDelegate.h"
1011

11-
1212
@implementation TCAppDelegate
1313

1414
@synthesize window = _window;

TestChat/TCChatCell.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
//
2-
// TCChatCell.h
3-
// SocketRocket
2+
// Copyright 2012 Square Inc.
3+
// Portions Copyright (c) 2016-present, Facebook, Inc.
4+
// All rights reserved.
45
//
5-
// Created by Mike Lewis on 1/28/12.
6-
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
6+
// This source code is licensed under the license found in the
7+
// LICENSE-examples file in the root directory of this source tree.
78
//
89

910
#import <UIKit/UIKit.h>

TestChat/TCChatCell.m

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
//
2-
// TCChatCell.m
3-
// SocketRocket
2+
// Copyright 2012 Square Inc.
3+
// Portions Copyright (c) 2016-present, Facebook, Inc.
4+
// All rights reserved.
45
//
5-
// Created by Mike Lewis on 1/28/12.
6-
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
6+
// This source code is licensed under the license found in the
7+
// LICENSE-examples file in the root directory of this source tree.
78
//
89

910
#import "TCChatCell.h"

TestChat/TCViewController.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
//
2-
// TCViewController.h
3-
// TestChat
2+
// Copyright 2012 Square Inc.
3+
// Portions Copyright (c) 2016-present, Facebook, Inc.
4+
// All rights reserved.
45
//
5-
// Created by Mike Lewis on 1/28/12.
6-
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
6+
// This source code is licensed under the license found in the
7+
// LICENSE-examples file in the root directory of this source tree.
78
//
89

910
#import <UIKit/UIKit.h>

TestChat/TCViewController.m

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
//
2-
// TCViewController.m
3-
// TestChat
2+
// Copyright 2012 Square Inc.
3+
// Portions Copyright (c) 2016-present, Facebook, Inc.
4+
// All rights reserved.
45
//
5-
// Created by Mike Lewis on 1/28/12.
6-
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
6+
// This source code is licensed under the license found in the
7+
// LICENSE-examples file in the root directory of this source tree.
78
//
89

910
#import "TCViewController.h"

TestChat/main.m

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
//
2-
// main.m
3-
// TestChat
2+
// Copyright 2012 Square Inc.
3+
// Portions Copyright (c) 2016-present, Facebook, Inc.
4+
// All rights reserved.
45
//
5-
// Created by Mike Lewis on 1/28/12.
6-
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
6+
// This source code is licensed under the license found in the
7+
// LICENSE-examples file in the root directory of this source tree.
78
//
89

910
#import <UIKit/UIKit.h>

TestChatServer/go/chatroom.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
//
2+
// Copyright 2012 Square Inc.
3+
// Portions Copyright (c) 2016-present, Facebook, Inc.
4+
// All rights reserved.
5+
//
6+
// This source code is licensed under the license found in the
7+
// LICENSE-examples file in the root directory of this source tree.
8+
//
9+
110
package main
211

312
import (

TestChatServer/py/chatroom.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
#!/usr/bin/env python
2+
#
3+
# Copyright 2012 Square Inc.
4+
# Portions Copyright (c) 2016-present, Facebook, Inc.
5+
# All rights reserved.
6+
#
7+
# This source code is licensed under the license found in the
8+
# LICENSE-examples file in the root directory of this source tree.
9+
#
10+
211
import tornado
312
import tornado.web
413
import tornado.websocket

0 commit comments

Comments
 (0)