Skip to content

Commit

Permalink
Code formatting [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Jan 26, 2024
1 parent b6a3ac9 commit 0fb45df
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
4 changes: 1 addition & 3 deletions example/check_comment.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import console from "node:console";
import {Author, Blog, CheckResult, Client, Comment, CommentType} from "@cedx/akismet";

/**
* Checks a comment against the Akismet service.
*/
// Checks a comment against the Akismet service.
try {
const author = new Author({
email: "[email protected]",
Expand Down
4 changes: 1 addition & 3 deletions example/submit_ham.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import console from "node:console";
import {Author, Blog, Client, Comment} from "@cedx/akismet";

/**
* Submits ham to the Akismet service.
*/
// Submits ham to the Akismet service.
try {
const blog = new Blog({url: "https://www.yourblog.com"});
const client = new Client("123YourAPIKey", blog);
Expand Down
4 changes: 1 addition & 3 deletions example/submit_spam.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import console from "node:console";
import {Author, Blog, Client, Comment} from "@cedx/akismet";

/**
* Submits spam to the Akismet service.
*/
// Submits spam to the Akismet service.
try {
const blog = new Blog({url: "https://www.yourblog.com"});
const client = new Client("123YourAPIKey", blog);
Expand Down
4 changes: 1 addition & 3 deletions example/verify_key.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import console from "node:console";
import {Blog, Client} from "@cedx/akismet";

/**
* Verifies an Akismet API key.
*/
// Verifies an Akismet API key.
try {
const blog = new Blog({url: "https://www.yourblog.com"});
const client = new Client("123YourAPIKey", blog);
Expand Down

0 comments on commit 0fb45df

Please sign in to comment.