mirror of
https://github.com/soulaklabs/bitoduc.fr.git
synced 2025-12-11 10:13:00 +00:00
Nettoyage du javascript
- Renommage de creuille.js en principal.js (plus soutenu et surtout plus bitoduc) - Utilisation de "'use strict';" - Code de gogol analytique mis dans un fichier dédié
This commit is contained in:
8
fr.js
8
fr.js
@@ -1,13 +1,15 @@
|
||||
Objet = Object
|
||||
'use strict';
|
||||
|
||||
var Objet = Object
|
||||
Objet.creer = Objet.create
|
||||
|
||||
Chaine = String
|
||||
var Chaine = String
|
||||
Chaine.prototype.enMinuscules = Chaine.prototype.toLowerCase
|
||||
Chaine.prototype.enMajuscules = Chaine.prototype.toUpperCase
|
||||
Chaine.prototype.remplacer = Chaine.prototype.replace
|
||||
Chaine.prototype.caractereA = Chaine.prototype.charAt
|
||||
|
||||
Tableau = Array
|
||||
var Tableau = Array
|
||||
Tableau.prototype.tri = Tableau.prototype.sort
|
||||
Tableau.prototype.longueur = function () { return this.length; }
|
||||
Tableau.prototype.pousser = Tableau.prototype.push
|
||||
|
||||
Reference in New Issue
Block a user