nl_tokens: @file merge - options . js @module merge - options Deep - merge one or more options objects recursively merging ** only ** plain object properties .
pl_tokens: function mergeOptions ( ) { var result = { } ; for ( var _len = arguments . length , sources = Array ( _len ) , _key = 0 ; _key < _len ; _key ++ ) { sources [ _key ] = arguments [ _key ] ; } sources . forEach ( function ( source ) { if ( ! source ) { return ; } each ( source , function ( value , key ) { if ( ! isPlain ( value ) ) { result [ key ] = value ; return ; } if ( ! isPlain ( result [ key ] ) ) { result [ key ] = { } ; } result [ <mask> ] = mergeOptions ( result [ key ] , value ) ; } ) ; } ) ; return result ; }