aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Bohlin <simon.bohlin@gmail.com>2010-04-21 19:58:03 +0200
committerSimon Bohlin <simon.bohlin@gmail.com>2010-04-21 19:58:13 +0200
commit08c4337aea133f03dff4ce050fa889a2aa3dc61a (patch)
treec14dba21a8f9dbf651bdc416c28ef8561096716f
parenta234be69475a98fca3234a73ab70018124ced5cb (diff)
downloadetherpad-08c4337aea133f03dff4ce050fa889a2aa3dc61a.tar.gz
etherpad-08c4337aea133f03dff4ce050fa889a2aa3dc61a.tar.xz
etherpad-08c4337aea133f03dff4ce050fa889a2aa3dc61a.zip
Add code origin comments
-rw-r--r--etherpad/src/static/js/broadcast.js3
1 files changed, 3 insertions, 0 deletions
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*/)