Make notes JS know which notes are new in a request

This commit is contained in:
Riyad Preukschas 2012-10-30 21:55:51 +01:00
parent ae067ee322
commit bd60a4ed40
3 changed files with 31 additions and 22 deletions

View file

@ -0,0 +1,7 @@
Array.prototype.first = function() {
return this[0];
}
Array.prototype.last = function() {
return this[this.length-1];
}