diff src/formats/bbcode.js @ 18:1334920263a2

remove more object-oriented code
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 08 Aug 2022 16:20:23 -0600
parents a199722647d0
children 80a86fb8f2b7
line wrap: on
line diff
--- a/src/formats/bbcode.js	Mon Aug 08 12:28:55 2022 -0600
+++ b/src/formats/bbcode.js	Mon Aug 08 16:20:23 2022 -0600
@@ -2625,8 +2625,6 @@
 
 			bbcodeHandlers[name] = bbcode;
 		}
-
-		return this;
 	};
 
 	/**
@@ -2646,8 +2644,6 @@
 
 			delete bbcodeHandlers[name];
 		}
-
-		return this;
 	};
 
 	/**
@@ -2661,8 +2657,6 @@
 		if (name in bbcodeHandlers) {
 			delete bbcodeHandlers[name];
 		}
-
-		return this;
 	};
 
 	bbcodeFormat.formatBBCodeString = formatBBCodeString;