Merge branch 'master' of github.com:flynx/object.js

This commit is contained in:
Alex A. Naanou 2022-07-04 05:00:14 +03:00
commit c3cbd26a62
2 changed files with 10 additions and 5 deletions

View File

@ -235,8 +235,8 @@ function(obj, stop, all){
// Non-strict match...
// match(a, b, true)
//
// This is similar to the default case but uses equality rather than
// identity to match values.
// This is similar to the default case but uses equality rather than
// identity to match values.
//
//
// NOTE: this will do a shallow test using Object.keys(..) thus .__proto__
@ -422,7 +422,11 @@ BOOTSTRAP(function(){
// STOP(value) yielded / thrown
// -> value yielded and iteration stops
//
// XXX doc!!!
//
// NOTE: this repeats the same code at lest twice, not sure yet how to avoid
// this...
//
// XXX user doc!!!
// XXX should we use this for sources(..) and friends...
var stoppable =
module.stoppable =
@ -493,7 +497,8 @@ function(func){
// XXX EXPEREMENTAL...
// should we support multple names???
// XXX
// XXX replace the current version with these..c
// ...this will lead to breaking API..
var _sources =
module._sources =
function*(obj, name=undefined){

View File

@ -1041,4 +1041,4 @@ typeof(__filename) != 'undefined'
/**********************************************************************
* vim:set ts=4 sw=4 : */ return module })
* vim:set ts=4 sw=4 nowrap : */ return module })