/trunk/dist/was.js |
@@ -1,6 +1,6 @@ |
/*! was.js - v1.0.0 - 2018-02-11 |
/*! was.js - v1.0.1 - 2019-03-04 |
* http://grimore.org |
* Copyright (c) 2018 [object Object]; Licensed GPL-3.0 */ |
* Copyright (c) 2019 [object Object]; Licensed GPL-3.0 */ |
/* Copyright (C) 2017 Wizardry and Steamworks - License: GNU GPLv3 */ |
/*************************************************************************/ |
function wasProduct(a, b) { |
@@ -113,12 +113,14 @@ |
/*************************************************************************/ |
/* Node.JS package export. */ |
/*************************************************************************/ |
module.exports.collections = { |
product: wasProduct, |
stride: wasStride, |
chunk: wasChunk, |
equals: wasEquals |
}; |
if(typeof variable !== 'undefined') { |
module.exports.collections = { |
product: wasProduct, |
stride: wasStride, |
chunk: wasChunk, |
equals: wasEquals |
}; |
} |
|
/* Copyright (C) 2015 Wizardry and Steamworks - License: GNU GPLv3 */ |
/*************************************************************************/ |
@@ -179,10 +181,13 @@ |
/*************************************************************************/ |
/* Node.JS package export. */ |
/*************************************************************************/ |
module.exports.formats = { |
CSVToArray: wasCSVToArray, |
ArrayToCSV: wasArrayToCSV |
}; |
if(typeof variable !== 'undefined') { |
module.exports.formats = { |
CSVToArray: wasCSVToArray, |
ArrayToCSV: wasArrayToCSV |
}; |
} |
|
/* Copyright (C) 2017 Wizardry and Steamworks - License: GNU GPLv3 */ |
/*************************************************************************/ |
function wasKeyValueToObject(a) { |
@@ -203,9 +208,12 @@ |
/*************************************************************************/ |
/* Node.JS package export. */ |
/*************************************************************************/ |
module.exports.formats = { |
KeyValueToObject: wasKeyValueToObject |
}; |
if(typeof variable !== 'undefined') { |
module.exports.formats = { |
KeyValueToObject: wasKeyValueToObject |
}; |
} |
|
/* Copyright (C) 2017 Wizardry and Steamworks - License: GNU GPLv3 */ |
/*************************************************************************/ |
/* fuss/lambda_calculus/functional_programming/aggregators @ grimore.org */ |
@@ -248,9 +256,11 @@ |
/*************************************************************************/ |
/* Node.JS package export. */ |
/*************************************************************************/ |
module.exports.lambda = { |
switch: wasSwitch |
}; |
if(typeof variable !== 'undefined') { |
module.exports.lambda = { |
switch: wasSwitch |
}; |
} |
|
/* Copyright (C) 2015 Wizardry and Steamworks - License: GNU GPLv3 */ |
/*************************************************************************/ |
@@ -263,9 +273,11 @@ |
/*************************************************************************/ |
/* Node.JS package export. */ |
/*************************************************************************/ |
module.exports.mathematics = { |
MapValueToRange: wasMapValueToRange |
}; |
if(typeof variable !== 'undefined') { |
module.exports.mathematics = { |
MapValueToRange: wasMapValueToRange |
}; |
} |
|
/* Copyright (C) 2015 Wizardry and Steamworks - License: GNU GPLv3 */ |
/*************************************************************************/ |
@@ -301,7 +313,9 @@ |
/*************************************************************************/ |
/* Node.JS package export. */ |
/*************************************************************************/ |
module.exports.physics = { |
HexToRGB: wasHexToRGB, |
RGBToHex: wasRGBToHex |
}; |
if(typeof variable !== 'undefined') { |
module.exports.physics = { |
HexToRGB: wasHexToRGB, |
RGBToHex: wasRGBToHex |
}; |
} |