mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
486f951b71
commit
fa40e6a2cf
@ -837,8 +837,10 @@ var BaseBrowserPrototype = {
|
|||||||
// perspective with one addition, expose the root stop(..)
|
// perspective with one addition, expose the root stop(..)
|
||||||
// function to func...
|
// function to func...
|
||||||
// XXX this uses a slightly different signature to func(..) that .walk(..) does...
|
// XXX this uses a slightly different signature to func(..) that .walk(..) does...
|
||||||
|
// XXX which of the forms should be documented in the signature???
|
||||||
|
// NOTE: it does not matter which is used as we manually
|
||||||
|
// parse arguments...
|
||||||
// XXX can this be simpler???
|
// XXX can this be simpler???
|
||||||
//walk2: function(func, name, formArgs, walkable, options){
|
|
||||||
walk2: function(func, recursion, walkable, options){
|
walk2: function(func, recursion, walkable, options){
|
||||||
var that = this
|
var that = this
|
||||||
|
|
||||||
@ -1047,9 +1049,6 @@ var BaseBrowserPrototype = {
|
|||||||
this.join('\n')
|
this.join('\n')
|
||||||
: this }) },
|
: this }) },
|
||||||
|
|
||||||
// XXX Q: do we go down the tree using the respective method (.paths(..))
|
|
||||||
// in this case or the more generic .walk2()???
|
|
||||||
// ...the two examples below illustrate both approaches...
|
|
||||||
paths: function(options, base){
|
paths: function(options, base){
|
||||||
base = base || []
|
base = base || []
|
||||||
return this.walk2(
|
return this.walk2(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user