GeezerVison is showing github.com — changes :clock3: · firmanJS/fullstack-javascript@518f593
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: 04-board-parse-rest/js/app.js +6-6Lines changed: 6 additions & 6 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
1 | | -var parseAppID='your-parse-app-id' |
2 | | -var parseRestKey='your-rest-api-key' |
| 1 | +var parseAppID = 'your-parse-app-id' |
| 2 | +var parseRestKey = 'your-rest-api-key' |
3 | 3 |
|
4 | 4 | // Azat's app, change these values to your own keys |
5 | | -parseAppID='Zc36GIp6WyzKIB9HvqRBEGnIeMO0X21rDbVwGPvp' |
6 | | -parseRestKey='1LKZVd4KG6PFpldvCha5RDY8Z5EZeJhy2Bl4vgJ3' |
| 5 | +parseAppID = 'Zc36GIp6WyzKIB9HvqRBEGnIeMO0X21rDbVwGPvp' |
| 6 | +parseRestKey = '1LKZVd4KG6PFpldvCha5RDY8Z5EZeJhy2Bl4vgJ3' |
7 | 7 |
|
8 | 8 | $(document).ready(function(){ |
9 | 9 | getMessages() |
@@ -61,10 +61,10 @@ function getMessages() { |
61 | 61 |
|
62 | 62 | function updateView(messages) { |
63 | 63 | // messages.results = messages.results.reverse() |
64 | | - var table=$('.table tbody') |
| 64 | + var table = $('.table tbody') |
65 | 65 | table.html('') |
66 | 66 | $.each(messages.results, function (index, value) { |
67 | | - var trEl=('<tr><td>' |
| 67 | + var trEl = ('<tr><td>' |
68 | 68 | + value.username |
69 | 69 | + '</td><td>' |
70 | 70 | + value.message |
|