Skip to content

Commit

Permalink
Add proper licence.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexguan committed Apr 26, 2013
1 parent 2abe515 commit f189d42
Show file tree
Hide file tree
Showing 25 changed files with 120 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

MIT License

Copyright (c) 2011 Yahoo! Inc. All Rights Reserved.
Copyright (c) 2013 Yahoo! Inc. All Rights Reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
Expand Down
7 changes: 7 additions & 0 deletions examples/acl.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* Copyright (c) 2013 Yahoo! Inc. All rights reserved.
*
* Copyrights licensed under the MIT License. See the accompanying LICENSE file
* for terms.
*/

var zookeeper = require('../index.js');

var client = zookeeper.createClient(process.argv[2]);
Expand Down
7 changes: 7 additions & 0 deletions examples/create.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* Copyright (c) 2013 Yahoo! Inc. All rights reserved.
*
* Copyrights licensed under the MIT License. See the accompanying LICENSE file
* for terms.
*/

var zookeeper = require('../index.js');

var client = zookeeper.createClient(process.argv[2]);
Expand Down
7 changes: 7 additions & 0 deletions examples/delete.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* Copyright (c) 2013 Yahoo! Inc. All rights reserved.
*
* Copyrights licensed under the MIT License. See the accompanying LICENSE file
* for terms.
*/

var zookeeper = require('../index.js');

var client = zookeeper.createClient(process.argv[2]);
Expand Down
7 changes: 7 additions & 0 deletions examples/exists.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* Copyright (c) 2013 Yahoo! Inc. All rights reserved.
*
* Copyrights licensed under the MIT License. See the accompanying LICENSE file
* for terms.
*/

var zookeeper = require('../index.js');

var client = zookeeper.createClient(process.argv[2]);
Expand Down
7 changes: 7 additions & 0 deletions examples/get.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* Copyright (c) 2013 Yahoo! Inc. All rights reserved.
*
* Copyrights licensed under the MIT License. See the accompanying LICENSE file
* for terms.
*/

var zookeeper = require('../index.js');

var client = zookeeper.createClient(process.argv[2]);
Expand Down
7 changes: 7 additions & 0 deletions examples/list.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* Copyright (c) 2013 Yahoo! Inc. All rights reserved.
*
* Copyrights licensed under the MIT License. See the accompanying LICENSE file
* for terms.
*/

var zookeeper = require('../index.js');

var client = zookeeper.createClient(process.argv[2]);
Expand Down
7 changes: 7 additions & 0 deletions examples/mkdirp.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* Copyright (c) 2013 Yahoo! Inc. All rights reserved.
*
* Copyrights licensed under the MIT License. See the accompanying LICENSE file
* for terms.
*/

var zookeeper = require('../index.js');

var client = zookeeper.createClient(process.argv[2] || 'localhost:2181');
Expand Down
7 changes: 7 additions & 0 deletions examples/set.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* Copyright (c) 2013 Yahoo! Inc. All rights reserved.
*
* Copyrights licensed under the MIT License. See the accompanying LICENSE file
* for terms.
*/

var zookeeper = require('../index.js');

var client = zookeeper.createClient(process.argv[2]);
Expand Down
7 changes: 7 additions & 0 deletions examples/transaction.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* Copyright (c) 2013 Yahoo! Inc. All rights reserved.
*
* Copyrights licensed under the MIT License. See the accompanying LICENSE file
* for terms.
*/

var zookeeper = require('../index.js');

var client = zookeeper.createClient(process.argv[2] || 'localhost:2181');
Expand Down
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/**
* Copyright (c) 2013 Yahoo! Inc. All rights reserved.
*
* Copyrights licensed under the MIT License. See the accompanying LICENSE file
* for terms.
*/

/**
Expand Down
4 changes: 4 additions & 0 deletions lib/ACL.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
/**
* Copyright (c) 2013 Yahoo! Inc. All rights reserved.
*
* Copyrights licensed under the MIT License. See the accompanying LICENSE file
* for terms.
*/


var jute = require('./jute');
var Id = require('./Id.js');
var Permission = require('./Permission.js');
Expand Down
3 changes: 3 additions & 0 deletions lib/ConnectionManager.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/**
* Copyright (c) 2013 Yahoo! Inc. All rights reserved.
*
* Copyrights licensed under the MIT License. See the accompanying LICENSE file
* for terms.
*/

var net = require('net');
Expand Down
4 changes: 4 additions & 0 deletions lib/ConnectionStringParser.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
/**
* Copyright (c) 2013 Yahoo! Inc. All rights reserved.
*
* Copyrights licensed under the MIT License. See the accompanying LICENSE file
* for terms.
*/


var assert = require('assert');
var u = require('underscore');
var Path = require('./Path.js');
Expand Down
5 changes: 4 additions & 1 deletion lib/CreateMode.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@

/**
* Copyright (c) 2013 Yahoo! Inc. All rights reserved.
*
* Copyrights licensed under the MIT License. See the accompanying LICENSE file
* for terms.
*/

var CREATE_MODES = {
/**
* The znode will not be automatically deleted upon client's disconnect.
Expand Down
3 changes: 3 additions & 0 deletions lib/Event.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/**
* Copyright (c) 2013 Yahoo! Inc. All rights reserved.
*
* Copyrights licensed under the MIT License. See the accompanying LICENSE file
* for terms.
*/

var assert = require('assert');
Expand Down
4 changes: 4 additions & 0 deletions lib/Exception.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
/**
* Copyright (c) 2013 Yahoo! Inc. All rights reserved.
*
* Copyrights licensed under the MIT License. See the accompanying LICENSE file
* for terms.
*/


var util = require('util');
var assert = require('assert');

Expand Down
4 changes: 4 additions & 0 deletions lib/Id.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
/**
* Copyright (c) 2013 Yahoo! Inc. All rights reserved.
*
* Copyrights licensed under the MIT License. See the accompanying LICENSE file
* for terms.
*/


var jute = require('./jute');

function Id(scheme, id) {
Expand Down
4 changes: 4 additions & 0 deletions lib/PacketQueue.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
/**
* Copyright (c) 2013 Yahoo! Inc. All rights reserved.
*
* Copyrights licensed under the MIT License. See the accompanying LICENSE file
* for terms.
*/


/**
* The package queue which emits events.
*/
Expand Down
4 changes: 4 additions & 0 deletions lib/Path.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
/**
* Copyright (c) 2013 Yahoo! Inc. All rights reserved.
*
* Copyrights licensed under the MIT License. See the accompanying LICENSE file
* for terms.
*/


var assert = require('assert');

/**
Expand Down
4 changes: 4 additions & 0 deletions lib/Permission.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
/**
* Copyright (c) 2013 Yahoo! Inc. All rights reserved.
*
* Copyrights licensed under the MIT License. See the accompanying LICENSE file
* for terms.
*/



var PERMISSIONS = {
READ : 1,
WRITE : 2,
Expand Down
4 changes: 4 additions & 0 deletions lib/State.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
/**
* Copyright (c) 2013 Yahoo! Inc. All rights reserved.
*
* Copyrights licensed under the MIT License. See the accompanying LICENSE file
* for terms.
*/


var assert = require('assert');

/**
Expand Down
4 changes: 4 additions & 0 deletions lib/Transaction.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
/**
* Copyright (c) 2013 Yahoo! Inc. All rights reserved.
*
* Copyrights licensed under the MIT License. See the accompanying LICENSE file
* for terms.
*/


var assert = require('assert');
var jute = require('./jute');
var Path = require('./Path.js');
Expand Down
4 changes: 4 additions & 0 deletions lib/WatcherManager.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
/**
* Copyright (c) 2013 Yahoo! Inc. All rights reserved.
*
* Copyrights licensed under the MIT License. See the accompanying LICENSE file
* for terms.
*/


var events = require('events');
var Path = require('./path.js');
var Event = require('./Event.js');
Expand Down
3 changes: 3 additions & 0 deletions lib/jute/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/**
* Copyright (c) 2013 Yahoo! Inc. All rights reserved.
*
* Copyrights licensed under the MIT License. See the accompanying LICENSE file
* for terms.
*/

/**
Expand Down

0 comments on commit f189d42

Please sign in to comment.