Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

Commit

Permalink
Add copyright and license
Browse files Browse the repository at this point in the history
  • Loading branch information
gzip committed May 1, 2012
1 parent b2a9661 commit 338946f
Show file tree
Hide file tree
Showing 12 changed files with 53 additions and 0 deletions.
31 changes: 31 additions & 0 deletions LICENSE.txt
@@ -0,0 +1,31 @@
Copyright (c) 2012, Yahoo! Inc. All rights reserved.

Redistribution and use of this software in source and binary forms,
with or without modification, are permitted provided that the following
conditions are met:

* Redistributions of source code must retain the above
copyright notice, this list of conditions and the
following disclaimer.

* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the
following disclaimer in the documentation and/or other
materials provided with the distribution.

* Neither the name of Yahoo! Inc. nor the names of its
contributors may be used to endorse or promote products
derived from this software without specific prior
written permission of Yahoo! Inc.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2 changes: 2 additions & 0 deletions middleware/src-handler.js
@@ -1,3 +1,5 @@
// Copyright (c) 2012, Yahoo! Inc. All rights reserved.
// Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
var fs = require('fs'),
pa = require('path'),
parseUrl = require('url').parse,
Expand Down
2 changes: 2 additions & 0 deletions models/yql.common.js
@@ -1,3 +1,5 @@
// Copyright (c) 2012, Yahoo! Inc. All rights reserved.
// Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
YUI.add('ModelYql', function(Y, NAME)
{
Y.mojito.models[NAME] =
Expand Down
2 changes: 2 additions & 0 deletions mojits/Config/binders/index.js
@@ -1,3 +1,5 @@
// Copyright (c) 2012, Yahoo! Inc. All rights reserved.
// Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
YUI.add('ConfigBinder', function(Y, NAME)
{
Y.namespace('mojito.binders')[NAME] =
Expand Down
2 changes: 2 additions & 0 deletions mojits/Config/controller.common.js
@@ -1,3 +1,5 @@
// Copyright (c) 2012, Yahoo! Inc. All rights reserved.
// Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
YUI.add('mojit', function(Y, NAME)
{
Y.mojito.controllers[NAME] =
Expand Down
2 changes: 2 additions & 0 deletions mojits/Preso/binders/index.js
@@ -1,3 +1,5 @@
// Copyright (c) 2012, Yahoo! Inc. All rights reserved.
// Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
YUI.add('PresoBinder', function(Y, NAME)
{
Y.namespace('mojito.binders')[NAME] =
Expand Down
2 changes: 2 additions & 0 deletions mojits/Preso/controller.common.js
@@ -1,3 +1,5 @@
// Copyright (c) 2012, Yahoo! Inc. All rights reserved.
// Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
YUI.add('Preso', function(Y, NAME)
{
Y.mojito.controllers[NAME] =
Expand Down
2 changes: 2 additions & 0 deletions mojits/Weather/autoload/lib.common.js
@@ -1,3 +1,5 @@
// Copyright (c) 2012, Yahoo! Inc. All rights reserved.
// Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
YUI.add('LibCommon', function(Y, NAME)
{
Y.log('Common lib loaded.', 'warn');
Expand Down
2 changes: 2 additions & 0 deletions mojits/Weather/binders/index.js
@@ -1,3 +1,5 @@
// Copyright (c) 2012, Yahoo! Inc. All rights reserved.
// Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
YUI.add('WeatherBinder', function(Y, NAME)
{
Y.namespace('mojito.binders')[NAME] =
Expand Down
2 changes: 2 additions & 0 deletions mojits/Weather/controller.common.js
@@ -1,3 +1,5 @@
// Copyright (c) 2012, Yahoo! Inc. All rights reserved.
// Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
YUI.add('Weather', function(Y, NAME)
{
Y.mojito.controllers[NAME] =
Expand Down
2 changes: 2 additions & 0 deletions server.js
@@ -1,3 +1,5 @@
// Copyright (c) 2012, Yahoo! Inc. All rights reserved.
// Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
try {
module.exports = require('mojito').createServer();
} catch(e) {
Expand Down
2 changes: 2 additions & 0 deletions start.js
@@ -1,3 +1,5 @@
// Copyright (c) 2012, Yahoo! Inc. All rights reserved.
// Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
require('./server.js').listen(8777, null, function() {

});

0 comments on commit 338946f

Please sign in to comment.