Project

General

Profile

« Previous | Next » 

Revision 52739

almost finished todo list

View differences:

utils.ts
7 7
    let caLen: number = ca.length;
8 8
    let cookieName = `${name}=`;
9 9
    let c: string;
10
    console.log(`document.cookie is: ${document.cookie.toString()}`);
11
    console.log(`ca is: ${JSON.stringify(ca)}`);
10
    /*console.log(`document.cookie is: ${document.cookie.toString()}`);
11
    console.log(`ca is: ${JSON.stringify(ca)}`);*/
12 12
    for (let i: number = 0; i < caLen; i += 1) {
13 13
        c = ca[i].replace(/^\s+/g, '');
14 14
        if (c.indexOf(cookieName) == 0) {

Also available in: Unified diff