Projet

Général

Profil

« Précédent | Suivant » 

Révision 3b0bc8c3

Ajouté par Renato Botelho il y a plus de 9 ans

Voir les différences:

usr/local/www/javascript/jquery.js
37 37
	rootjQuery,
38 38

  
39 39
	// A simple way to check for HTML strings or ID strings
40
	// (both of which we optimize for)
41
	quickExpr = /^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,
40
	// Prioritize #id over <tag> to avoid XSS via location.hash (#9521)
41
	quickExpr = /^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,
42 42

  
43 43
	// Check if a string has a non-whitespace character in it
44 44
	rnotwhite = /\S/,

Formats disponibles : Unified diff