update license and add copyright to all files

This commit is contained in:
Sami Samhuri 2011-05-29 23:45:26 -07:00
parent d177c83f5e
commit d16f7e2b49
8 changed files with 22 additions and 2 deletions

View file

@ -1,4 +1,4 @@
Copyright 2010 Sami Samhuri. All rights reserved.
Copyright 2010 - 2011 Sami Samhuri. 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
deal in the Software without restriction, including without limitation the

View file

@ -1,3 +1,6 @@
// batteries
// Copyright 2010 - 2011 Sami Samhuri <sami@samhuri.net>
var fs = require('fs')
, ArrayExt = require('./array-ext').ArrayExt
, LineEmitter = require('./line-emitter').LineEmitter

View file

@ -1,3 +1,7 @@
// batteries
// Copyright 2010 - 2011 Sami Samhuri <sami@samhuri.net>
// TODO non-enumerable properties
exports.extendArray = function() {
Array.prototype.fusedMap = function() {
var args = [].slice.call(arguments);

View file

@ -1,3 +1,6 @@
// batteries
// Copyright 2010 - 2011 Sami Samhuri <sami@samhuri.net>
var ArrayExt = require('./array-ext')
, DateExt = require('./date-ext')
, FileExt = require('./file-ext')

View file

@ -1,3 +1,6 @@
// batteries
// Copyright 2010 - 2011 Sami Samhuri <sami@samhuri.net>
var fs = require('fs')
, util = require('util')
, EventEmitter = require('events').EventEmitter

View file

@ -1,4 +1,8 @@
// batteries
// Copyright 2010 - 2011 Sami Samhuri <sami@samhuri.net>
exports.Range = Range;
function Range(start, length) {
this.start = start;
this.length = length;

View file

@ -1,3 +1,6 @@
// batteries
// Copyright 2010 - 2011 Sami Samhuri <sami@samhuri.net>
// readable string representations of values
exports.repr = function(x) {
if (x !== null && x !== undefined && typeof x.repr === 'function') return x.repr();

View file

@ -8,7 +8,7 @@
, "url" : "http://github.com/samsonjs/batteries.git"
}
, "bugs" :
{ "mail" : "sami.samhuri+batteries@gmail.com"
{ "mail" : "sami@samhuri.net"
, "web" : "http://github.com/samsonjs/batteries/issues"
}
, "directories" : { "lib" : "./lib" }