From 70aa7a5cb9de83c0966985618d6e6d4d4400dd0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Sun, 9 Feb 2020 00:38:26 +0100 Subject: added images support to messages and removed npm and node modules dependency --- node_modules/cssfilter/lib/util.js | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 node_modules/cssfilter/lib/util.js (limited to 'node_modules/cssfilter/lib/util.js') diff --git a/node_modules/cssfilter/lib/util.js b/node_modules/cssfilter/lib/util.js deleted file mode 100644 index c8b4f7b..0000000 --- a/node_modules/cssfilter/lib/util.js +++ /dev/null @@ -1,35 +0,0 @@ -module.exports = { - indexOf: function (arr, item) { - var i, j; - if (Array.prototype.indexOf) { - return arr.indexOf(item); - } - for (i = 0, j = arr.length; i < j; i++) { - if (arr[i] === item) { - return i; - } - } - return -1; - }, - forEach: function (arr, fn, scope) { - var i, j; - if (Array.prototype.forEach) { - return arr.forEach(fn, scope); - } - for (i = 0, j = arr.length; i < j; i++) { - fn.call(scope, arr[i], i, arr); - } - }, - trim: function (str) { - if (String.prototype.trim) { - return str.trim(); - } - return str.replace(/(^\s*)|(\s*$)/g, ''); - }, - trimRight: function (str) { - if (String.prototype.trimRight) { - return str.trimRight(); - } - return str.replace(/(\s*$)/g, ''); - } -}; -- cgit v1.2.3