projects
/
euphorik.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FIX #81 (partie d'update de la BD, voir euphorik_bd_admin:patch(2))
[euphorik.git]
/
js
/
betterjs.js
diff --git
a/js/betterjs.js
b/js/betterjs.js
index
30ca5ad
..
d982030
100644
(file)
--- a/
js/betterjs.js
+++ b/
js/betterjs.js
@@
-1,3
+1,4
@@
+// coding: utf-8
// tout un tas d'améliorations de JavaScript ;)
// tout un tas d'améliorations de JavaScript ;)
@@
-39,7
+40,7
@@
Array.prototype.map = function(f) {
String.prototype.trim = function() {
return jQuery.trim(this); // anciennement : this.replace(/^\s+|\s+$/g, "");
String.prototype.trim = function() {
return jQuery.trim(this); // anciennement : this.replace(/^\s+|\s+$/g, "");
-}
+}
;
String.prototype.ltrim = function() {
return this.replace(/^\s+/, "");
String.prototype.ltrim = function() {
return this.replace(/^\s+/, "");