mirror of
https://github.com/samsonjs/batteries.git
synced 2026-03-25 09:15:46 +00:00
update license and add copyright to all files
This commit is contained in:
parent
d177c83f5e
commit
d16f7e2b49
8 changed files with 22 additions and 2 deletions
2
LICENSE
2
LICENSE
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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')
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
// batteries
|
||||
// Copyright 2010 - 2011 Sami Samhuri <sami@samhuri.net>
|
||||
|
||||
var fs = require('fs')
|
||||
, util = require('util')
|
||||
, EventEmitter = require('events').EventEmitter
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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" }
|
||||
|
|
|
|||
Loading…
Reference in a new issue