Skip to content

Commit

Permalink
refactor(attribution): adds links to origins of some moved logic
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeoxx committed Mar 27, 2024
1 parent 123b698 commit bc616f7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions projects/ngx-cookie-service-ssr/src/lib/ssr-cookie.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ export class SsrCookieService {
*
* @author: Blake Ballard (blakeoxx)
* @since: 16.2.0
* @see {@link https://github.com/stevermeister/ngx-cookie-service/blob/f7625d789dc18ea6aebcf136edb4cc01eeac5de9/projects/ngx-cookie-service-ssr/src/lib/ssr-cookie.service.ts#L100}
* for previous implementation of parsing logic
*/
static cookieStringToMap(cookieString: string): Map<string, string> {
const cookies = new Map<string, string>;
Expand Down Expand Up @@ -92,6 +94,8 @@ export class SsrCookieService {
*
* @author: Blake Ballard (blakeoxx)
* @since: 16.2.0
* @see {@link https://github.com/stevermeister/ngx-cookie-service/blob/f7625d789dc18ea6aebcf136edb4cc01eeac5de9/projects/ngx-cookie-service-ssr/src/lib/ssr-cookie.service.ts#L100}
* for previous implementation of parsing logic
*/
private getCombinedCookies(): Map<string, string> {
if (this.documentIsAccessible) {
Expand Down Expand Up @@ -128,6 +132,7 @@ export class SsrCookieService {
*
* @author: Blake Ballard (blakeoxx)
* @since: 16.2.0
* @see {@link set} for the original client-side cookie setter logic. This logic is mostly straight from there
*/
private setClientCookie(
name: string,
Expand Down

0 comments on commit bc616f7

Please sign in to comment.