From 0c1df0beb8bc21940060eb70db4e7f97212b1704 Mon Sep 17 00:00:00 2001 From: lesyk Date: Fri, 19 Jul 2019 13:57:22 +0200 Subject: [PATCH] Add version as a part of the script Renamed script file, and added version of the script into it. --- jsanity-0.3.js => jsanity.js | 1 + 1 file changed, 1 insertion(+) rename jsanity-0.3.js => jsanity.js (99%) diff --git a/jsanity-0.3.js b/jsanity.js similarity index 99% rename from jsanity-0.3.js rename to jsanity.js index af86807..9ca88fd 100644 --- a/jsanity-0.3.js +++ b/jsanity.js @@ -7,6 +7,7 @@ jSanity = {}; // Default sanitization options var defaults = { + version: '0.3', inputString: '', // The string to sanitize and put into the DOM maxWidth: '600px', // Recommended to prevent outside UI from being pushed to the right maxHeight: '200px', // Recommended to prevent outside UI from being pushed down