1
mirror of https://gitlab.com/commento/commento.git synced 2025-06-29 22:56:37 -04:00

frontend: use camelCase instead of snake_case

This commit is contained in:
Adhityaa
2018-06-16 18:55:27 +05:30
parent 91c2d047d5
commit ef21599109
12 changed files with 18 additions and 18 deletions

View File

@ -42,7 +42,7 @@
}
global.buttonDisable("#add-site-button");
global.post(global.commento_origin + "/api/domain/new", json, function(resp) {
global.post(global.commentoOrigin + "/api/domain/new", json, function(resp) {
global.buttonEnable("#add-site-button");
$("#new-domain-name").val("");
@ -69,7 +69,7 @@
session: global.cookieGet("session"),
};
global.post(global.commento_origin + "/api/domain/list", json, function(resp) {
global.post(global.commentoOrigin + "/api/domain/list", json, function(resp) {
if (!resp.success) {
global.globalErrorShow(resp.message);
return;
@ -111,7 +111,7 @@
domain: domain,
};
global.post(global.commento_origin + "/api/domain/update", json, function(resp) {
global.post(global.commentoOrigin + "/api/domain/update", json, function(resp) {
if (callback !== undefined)
callback(resp.success);
@ -130,7 +130,7 @@
domain: domain,
};
global.post(global.commento_origin + "/api/domain/delete", json, function(resp) {
global.post(global.commentoOrigin + "/api/domain/delete", json, function(resp) {
if (!resp.success) {
global.globalErrorShow(resp.message);
return;