From 08c4337aea133f03dff4ce050fa889a2aa3dc61a Mon Sep 17 00:00:00 2001 From: Simon Bohlin Date: Wed, 21 Apr 2010 19:58:03 +0200 Subject: Add code origin comments --- etherpad/src/static/js/broadcast.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etherpad/src/static/js/broadcast.js b/etherpad/src/static/js/broadcast.js index 9fa8141..8ea0a15 100644 --- a/etherpad/src/static/js/broadcast.js +++ b/etherpad/src/static/js/broadcast.js @@ -15,6 +15,7 @@ */ // just in case... (todo: this must be somewhere else in the client code.) +// Below Array#map code was direct pasted by AppJet/Etherpad, licence unknown. Possible source: http://www.tutorialspoint.com/javascript/array_map.htm if (!Array.prototype.map) { Array.prototype.map = function(fun /*, thisp*/) @@ -35,6 +36,7 @@ if (!Array.prototype.map) }; } +// Below Array#forEach code was direct pasted by AppJet/Etherpad, licence unknown. Possible source: http://www.tutorialspoint.com/javascript/array_foreach.htm if (!Array.prototype.forEach) { Array.prototype.forEach = function(fun /*, thisp*/) @@ -52,6 +54,7 @@ if (!Array.prototype.forEach) }; } +// Below Array#indexOf code was direct pasted by AppJet/Etherpad, licence unknown. Possible source: http://www.tutorialspoint.com/javascript/array_indexof.htm if (!Array.prototype.indexOf) { Array.prototype.indexOf = function(elt /*, from*/) -- cgit v1.2.3