mirror of
https://github.com/flynx/object.js.git
synced 2025-10-29 18:40:08 +00:00
Merge branch 'master' of github.com:flynx/object.js
This commit is contained in:
commit
c3cbd26a62
13
object.js
13
object.js
@ -235,8 +235,8 @@ function(obj, stop, all){
|
|||||||
// Non-strict match...
|
// Non-strict match...
|
||||||
// match(a, b, true)
|
// match(a, b, true)
|
||||||
//
|
//
|
||||||
// This is similar to the default case but uses equality rather than
|
// This is similar to the default case but uses equality rather than
|
||||||
// identity to match values.
|
// identity to match values.
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE: this will do a shallow test using Object.keys(..) thus .__proto__
|
// NOTE: this will do a shallow test using Object.keys(..) thus .__proto__
|
||||||
@ -422,7 +422,11 @@ BOOTSTRAP(function(){
|
|||||||
// STOP(value) yielded / thrown
|
// STOP(value) yielded / thrown
|
||||||
// -> value yielded and iteration stops
|
// -> 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...
|
// XXX should we use this for sources(..) and friends...
|
||||||
var stoppable =
|
var stoppable =
|
||||||
module.stoppable =
|
module.stoppable =
|
||||||
@ -493,7 +497,8 @@ function(func){
|
|||||||
|
|
||||||
// XXX EXPEREMENTAL...
|
// XXX EXPEREMENTAL...
|
||||||
// should we support multple names???
|
// should we support multple names???
|
||||||
// XXX
|
// XXX replace the current version with these..c
|
||||||
|
// ...this will lead to breaking API..
|
||||||
var _sources =
|
var _sources =
|
||||||
module._sources =
|
module._sources =
|
||||||
function*(obj, name=undefined){
|
function*(obj, name=undefined){
|
||||||
|
|||||||
2
test.js
2
test.js
@ -1041,4 +1041,4 @@ typeof(__filename) != 'undefined'
|
|||||||
|
|
||||||
|
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
* vim:set ts=4 sw=4 : */ return module })
|
* vim:set ts=4 sw=4 nowrap : */ return module })
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user