Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cookie-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ CookieServer.receive = function (event) {
if (event.source === window.parent) {
if (msg.cmd === "set") {
CookieServer.setCookie(msg.name, msg.value, msg.days);
} else if (msg.cmd = "get") {
} else if (msg.cmd === "get") {
event.source.postMessage(CookieServer.getCookie(msg.name),"*");
}
}
Expand Down
8 changes: 4 additions & 4 deletions cts-ui/playground/blogs/blog1/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"location": "New York",
"categories": [{"title":"Category 1", "link":"#"}, {"title":"Category 2", "link":"#"}],
"tags": [{"title":"Tag 1", "link":"#"}, {"title":"Tag 2", "link":"#"}],
"date":"Tuesay, 25 October 2011",
"date":"Tuesday, 25 October 2011",
"author":{"name":"David Karger", "link":"#"},
"comment_count":3,
"comments":[
Expand All @@ -38,7 +38,7 @@
"location": "New York",
"categories": [{"title":"Category 1", "link":"#"}, {"title":"Category 2", "link":"#"}],
"tags": [{"title":"Tag 1", "link":"#"}, {"title":"Tag 2", "link":"#"}],
"date":"Tuesay, 25 October 2011",
"date":"Tuesday, 25 October 2011",
"author":{"name":"David Karger", "link":"#"},
"comment_count":3,
"comments":[
Expand All @@ -51,14 +51,14 @@
"location": "New York",
"categories": [{"title":"Category 1", "link":"#"}, {"title":"Category 2", "link":"#"}],
"tags": [{"title":"Tag 1", "link":"#"}, {"title":"Tag 2", "link":"#"}],
"date":"Tuesay, 25 October 2011",
"date":"Tuesday, 25 October 2011",
"author":{"name":"Firstname Lastname", "link":"#"},
"comment_count":3,
"comments":[
{"body":"Comment Body 1", "author":"Comment Author", "link":"#", "Date":"Tuesday, 25 October 2011"},
{"body":"Comment Body 2", "author":"Comment Author", "link":"#", "Date":"Tuesday, 25 October 2011"}],
"sticky": false,
"body":"A Bronx woman reportedly won the tri-state lottery last night, totaling sixy zillion dollars. The winning ticket was sold at a convenience store on 10th Ave, but the winner has not yet come forward to reveal themselves."
"body":"A Bronx woman reportedly won the tri-state lottery last night, totaling sixty zillion dollars. The winning ticket was sold at a convenience store on 10th Ave, but the winner has not yet come forward to reveal themselves."
}]
}
}
6 changes: 3 additions & 3 deletions cts-ui/playground/blogs/blog3/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"location": "New York",
"categories": [{"name":"Cats", "link":"#"}],
"tags": [{"name":"Cute", "link":"#"}, {"name":"Lasers", "link":"#"}],
"date":"Tuesay, 25 October 2011",
"date":"Tuesday, 25 October 2011",
"author":{"name":"George Washington", "link":"#"},
"comment_count":2,
"comments":[
Expand All @@ -34,7 +34,7 @@
"location": "New York",
"categories": [{"name":"Cats", "link":"#"}],
"tags": [{"name":"Cats", "link":"#"}, {"name":"Lazy", "link":"#"}],
"date":"Tuesay, 25 October 2011",
"date":"Tuesday, 25 October 2011",
"author":{"name":"Andrew Hamilton", "link":"#"},
"comment_count":0,
"comments":[],
Expand All @@ -44,7 +44,7 @@
"location": "New York",
"categories": [{"name":"Cats", "link":"#"}],
"tags": [{"name":"Cats", "link":"#"}, {"name":"Lazy", "link":"#"}],
"date":"Tuesay, 25 October 2011",
"date":"Tuesday, 25 October 2011",
"author":{"name":"Paul Revere", "link":"#"},
"comment_count":0,
"comments":[],
Expand Down