From 31f14fd486a689d83a3712dab8ae2151de57bbc4 Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 24 Mar 2010 21:31:12 +0000 Subject: Just like for branch 2.0, AMenuManager and grum_plugins_classes-2 are removed. These plugins exist in piwigo.org/ext and in piwigo.org/svn/extensions git-svn-id: http://piwigo.org/svn/trunk@5321 68402e56-0260-453c-a942-63ccdbb3a9ee --- plugins/grum_plugins_classes-2/genericjs.js | 49 ----------------------------- 1 file changed, 49 deletions(-) delete mode 100755 plugins/grum_plugins_classes-2/genericjs.js (limited to 'plugins/grum_plugins_classes-2/genericjs.js') diff --git a/plugins/grum_plugins_classes-2/genericjs.js b/plugins/grum_plugins_classes-2/genericjs.js deleted file mode 100755 index 656f8efad..000000000 --- a/plugins/grum_plugins_classes-2/genericjs.js +++ /dev/null @@ -1,49 +0,0 @@ -/* ----------------------------------------------------------------------------- - file: genricjs.js - file version: 1.0 - date: 2008-01-02 - ------------------------------------------------------------------------------ - author: grum at grum.dnsalias.com - << May the Little SpaceFrog be with you >> - ------------------------------------------------------------------------------ - - this classes provides base functions to make easiest a compliant code with - FF2.0 & IE7.0 - - - ------------------------------------------------------------------------------ - HISTORY VERSION - - -------------------------------------------------------------------------- */ - - - -/* - this is an implementation of the function to the Array class, as - defined in the ECMA-262 standard - for more information, see at http://developer.mozilla.org/fr/docs/R%C3%A9f%C3%A9rence_de_JavaScript_1.5_Core:Objets_globaux:Array:indexOf - - not implemented in IE 7.0 -*/ -if (!Array.prototype.indexOf) -{ - Array.prototype.indexOf = function(elt /*, from*/) - { - var len = this.length; - - var from = Number(arguments[1]) || 0; - from = (from < 0) - ? Math.ceil(from) - : Math.floor(from); - if (from < 0) - from += len; - - for (; from < len; from++) - { - if (from in this && - this[from] === elt) - return from; - } - return -1; - }; -} -- cgit v1.2.3