You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2018/12/12 12:02:22 UTC

[openmeetings] branch master updated: [OPENMEETINGS-1972] code clean-up

This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/master by this push:
     new e82d507  [OPENMEETINGS-1972] code clean-up
e82d507 is described below

commit e82d507521fef7018754da53abc6dce03e3261ff
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Wed Dec 12 19:02:12 2018 +0700

    [OPENMEETINGS-1972] code clean-up
---
 .../java/org/apache/openmeetings/web/room/wb/raw-tool-clipart.js  | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/raw-tool-clipart.js b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/raw-tool-clipart.js
index 5fdff36..eacd4c1 100644
--- a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/raw-tool-clipart.js
+++ b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/raw-tool-clipart.js
@@ -1,12 +1,4 @@
 /* Licensed under the Apache License, Version 2.0 (the "License") http://www.apache.org/licenses/LICENSE-2.0 */
-if (!String.prototype.endsWith) {
-	String.prototype.endsWith = function(search, this_len) {
-		if (this_len === undefined || this_len > this.length) {
-			this_len = this.length;
-		}
-		return this.substring(this_len - search.length, this_len) === search;
-	};
-}
 var Clipart = function(wb, btn, s) {
 	const art = Shape(wb);
 	art.add2Canvas = function() {}