Skip to content

Commit 8842e83

Browse files
PayFluflovilmart
authored andcommitted
typo and missing (#299)
* Update test.html * Update script.js
1 parent 5c38e15 commit 8842e83

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

public/assets/js/script.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Steps handler
33
*/
44

5-
var Steps = {}
5+
var Steps = {};
66

77
Steps.init = function() {
88
this.buildParseUrl();
@@ -18,7 +18,7 @@ Steps.buildParseUrl = function() {
1818
}
1919

2020
Steps.bindBtn = function(id, callback) {
21-
$(id).click(callback)
21+
$(id).click(callback);
2222
}
2323

2424
Steps.closeStep = function(id) {
@@ -54,7 +54,7 @@ ParseRequest.postData = function() {
5454
Store.objectId = JSON.parse(data).objectId;
5555
// close first step
5656
Steps.closeStep('#step-1');
57-
Steps.fillStepOutput('#step-1-output', data)
57+
Steps.fillStepOutput('#step-1-output', data);
5858
Steps.fillBtn('#step-1-btn', 'Posted');
5959
// open second step
6060
Steps.openStep('#step-2');
@@ -70,7 +70,7 @@ ParseRequest.getData = function() {
7070
XHR.setCallback(function(data){
7171
// close second step
7272
Steps.closeStep('#step-2');
73-
Steps.fillStepOutput('#step-2-output', data)
73+
Steps.fillStepOutput('#step-2-output', data);
7474
Steps.fillBtn('#step-2-btn', 'Fetched');
7575
// open third step
7676
Steps.openStep('#step-3');
@@ -86,7 +86,7 @@ ParseRequest.postCloudCodeData = function() {
8686
XHR.setCallback(function(data){
8787
// close second step
8888
Steps.closeStep('#step-3');
89-
Steps.fillStepOutput('#step-3-output', data)
89+
Steps.fillStepOutput('#step-3-output', data);
9090
Steps.fillBtn('#step-3-btn', 'Tested');
9191
// open third step
9292
Steps.showWorkingMessage();
@@ -103,7 +103,7 @@ var Store = {
103103
objectId: ""
104104
};
105105

106-
var Config = {}
106+
var Config = {};
107107

108108
Config.getUrl = function() {
109109
if (url) return url;
@@ -118,7 +118,7 @@ Config.getUrl = function() {
118118
* XHR object
119119
*/
120120

121-
var XHR = {}
121+
var XHR = {};
122122

123123
XHR.setCallback = function(callback) {
124124
this.xhttp = new XMLHttpRequest();

0 commit comments

Comments
 (0)