Revert "(fix) JavaScript syntax error in 'asCSSIdentifier'"
This reverts commit 9897cee779
.
This commit is contained in:
parent
9897cee779
commit
662d06d24a
|
@ -73,10 +73,6 @@ String.prototype.decodeEntities = function() {
|
|||
});
|
||||
};
|
||||
|
||||
String.prototype.unescapeHTMLEntities = function() {
|
||||
return this.unescapeHTML().replace(/"/g,'"');
|
||||
};
|
||||
|
||||
String.prototype.asDate = function () {
|
||||
var newDate;
|
||||
var date = this.split("/");
|
||||
|
@ -101,7 +97,7 @@ String.prototype.asDate = function () {
|
|||
String.prototype.asCSSIdentifier = function() {
|
||||
var characters = [ '_' , '\\.', '#' , '@' , '\\*', ':' , ';' , ',' , ' ',
|
||||
'\\(', '\\)', '\\[', '\\]', '\\{', '\\}',
|
||||
"'", '"', '&', '\\+' ];
|
||||
, "'", '"', '&', '\\+' ];
|
||||
var escapeds = [ '_U_', '_D_', '_H_', '_A_', '_S_', '_C_', '_SC_', '_CO_', '_SP_',
|
||||
'_LP_', '_RP_', '_LS_', '_RQ_', '_LC_', '_RC_',
|
||||
'_SQ_', '_DQ_', '_AM_', '_P_' ];
|
||||
|
|
Loading…
Reference in a new issue