mirror of
https://github.com/flynx/types.js.git
synced 2025-10-29 02:20:07 +00:00
added Array.STOP...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
697bdbcc1a
commit
db6ebb1af6
3
Array.js
3
Array.js
@ -21,7 +21,6 @@ var generator = require('./generator')
|
||||
|
||||
// NOTE: this is used in a similar fashion to Python's StopIteration...
|
||||
var STOP =
|
||||
module.STOP =
|
||||
object.STOP
|
||||
|
||||
|
||||
@ -179,6 +178,8 @@ var makeChunkIter = function(iter, wrapper){
|
||||
var ArrayMixin =
|
||||
module.ArrayMixin =
|
||||
object.Mixin('ArrayMixin', 'soft', {
|
||||
STOP: object.STOP,
|
||||
|
||||
// zip(array, array, ...)
|
||||
// -> [[item, item, ...], ...]
|
||||
//
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ig-types",
|
||||
"version": "5.0.15",
|
||||
"version": "5.0.16",
|
||||
"description": "Generic JavaScript types and type extensions...",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user