Skip to content

Commit

Permalink
Add copyright header on website files
Browse files Browse the repository at this point in the history
  • Loading branch information
vjeux committed Mar 23, 2015
1 parent 3e2bcdc commit e811181
Show file tree
Hide file tree
Showing 28 changed files with 196 additions and 20 deletions.
8 changes: 7 additions & 1 deletion website/core/DocsSidebar.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule DocsSidebar
* @jsx React.DOM
*/

var React = require('React');
Expand Down
8 changes: 7 additions & 1 deletion website/core/H2.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule H2
* @jsx React.DOM
*/

var React = require('React');
Expand Down
8 changes: 7 additions & 1 deletion website/core/Header.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule Header
* @jsx React.DOM
*/

var React = require('React');
Expand Down
8 changes: 7 additions & 1 deletion website/core/HeaderLinks.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule HeaderLinks
* @jsx React.DOM
*/

var React = require('React');
Expand Down
1 change: 0 additions & 1 deletion website/core/Marked.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* https://github.com/chjj/marked
*
* @providesModule Marked
* @jsx React.DOM
*/

var React = require('React');
Expand Down
1 change: 0 additions & 1 deletion website/core/Prism.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* @author Lea Verou http://lea.verou.me
*
* @providesModule Prism
* @jsx React.DOM
*/

var React = require('React');
Expand Down
8 changes: 7 additions & 1 deletion website/core/Site.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule Site
* @jsx React.DOM
*/

var React = require('React');
Expand Down
8 changes: 7 additions & 1 deletion website/core/center.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule center
* @jsx React.DOM
*/

var React = require('React');
Expand Down
7 changes: 7 additions & 0 deletions website/core/slugify.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule slugify
*/

Expand Down
7 changes: 7 additions & 0 deletions website/core/unindent.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule unindent
*/

Expand Down
9 changes: 8 additions & 1 deletion website/jsdocs/TypeExpressionParser.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved.
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/

/*global exports:true*/
"use strict";
Expand Down
9 changes: 8 additions & 1 deletion website/jsdocs/findExportDefinition.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved.
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/

/*jslint node: true */
"use strict";
Expand Down
9 changes: 8 additions & 1 deletion website/jsdocs/generic-function-visitor.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved.
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/

/*global exports:true*/
/*jslint node:true*/
Expand Down
9 changes: 8 additions & 1 deletion website/jsdocs/jsdocs.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved.
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/

/*jslint node: true */
"use strict";
Expand Down
9 changes: 8 additions & 1 deletion website/jsdocs/meta.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved.
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/

/*global exports:true*/
/*jslint node:true*/
Expand Down
9 changes: 8 additions & 1 deletion website/jsdocs/traverseFlat.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved.
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/

/*global exports:true*/
/*jslint node:true*/
Expand Down
9 changes: 8 additions & 1 deletion website/jsdocs/type.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
// Copyright 2004-present Facebook. All Rights Reserved.
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/

/*global exports:true*/
"use strict";
Expand Down
8 changes: 7 additions & 1 deletion website/layout/AutodocsLayout.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule AutodocsLayout
* @jsx React.DOM
*/

var DocsSidebar = require('DocsSidebar');
Expand Down
8 changes: 7 additions & 1 deletion website/layout/DocsLayout.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule DocsLayout
* @jsx React.DOM
*/

var React = require('React');
Expand Down
8 changes: 7 additions & 1 deletion website/layout/PageLayout.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule PageLayout
* @jsx React.DOM
*/

var React = require('React');
Expand Down
7 changes: 7 additions & 0 deletions website/publish.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#!/bin/bash

# Copyright (c) 2015-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.

set -e

# Start in website/ even if run from root directory
Expand Down
9 changes: 9 additions & 0 deletions website/server/convert.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/

var fs = require('fs')
var glob = require('glob');
var mkdirp = require('mkdirp');
Expand Down
9 changes: 9 additions & 0 deletions website/server/extractDocs.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/

var docs = require('react-docgen');
var fs = require('fs');
var path = require('path');
Expand Down
8 changes: 8 additions & 0 deletions website/server/generate.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/

var request = require('request');
var glob = require('glob');
Expand Down
9 changes: 9 additions & 0 deletions website/server/server.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/

"use strict";
var connect = require('connect');
var http = require('http');
Expand Down
9 changes: 9 additions & 0 deletions website/setup.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
#!/bin/bash

# Copyright (c) 2015-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.

cd ../../
git clone [email protected]:facebook/react-native.git react-native-gh-pages
cd react-native-gh-pages
Expand Down
7 changes: 6 additions & 1 deletion website/src/react-native/_index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
/**
* @jsx React.DOM
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/

var React = require('React');
Expand Down
7 changes: 6 additions & 1 deletion website/src/react-native/support.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
/**
* @jsx React.DOM
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/

var React = require('React');
Expand Down

0 comments on commit e811181

Please sign in to comment.