nl_tokens: Attaches resource data to a given object . The resource data is usually used to store metadata ( e . g . a content type ) for an object .
pl_tokens: function resource ( object , data ) { if ( data === undefined ) return resourceMap . get ( object ) || { } ; if ( ! object || typeof object !== "object" && typeof object !== "function" || resourceMap . has ( <mask> ) ) throw new TypeError ( "Could not transform given object into a resource." ) ; if ( ! data || typeof data !== "object" ) throw new TypeError ( "Resource data has to be an object." ) ; resourceMap . set ( object , data ) ; return object ; }