nl_tokens: Utility functions {{{ Try and return a value from a deeply nested object by a dotted path This is functionally the same as lodash s own _ . get () function
pl_tokens: function getPath ( obj , path , defaultValue ) { var pointer = obj ; path . split ( '.' ) . every ( function ( slice ) { if ( pointer [ slice ] ) { pointer = pointer [ slice ] ; return true ; } else { <mask> = defaultValue ; return false ; } } ) ; return pointer ; }