Subversion Repositories JSX

Compare Revisions

Last modification

Ignore whitespace Rev 621 → Rev 622

/trunk/document.js
57,7 → 57,9
write: function(s) {
return jsx.tryThis(
function() {
/*jshint -W060*/
document.write(s);
/*jshint +W060*/
 
/* fix circular reference */
s = null;
115,6 → 117,7
}
 
/* Document Type Definitions and HTML 4.0 Tag Policy URLs */
/*jshint -W098*/
 
/* DTD for HTML 2.0 documents */
var dtdHTML2 = '"-//W3C//DTD HTML 2.0//EN"';
140,6 → 143,8
/* URL of DTD for documents that use strict HTML 4.01 syntax */
var dtdURL_HTML4str = '\n "http://www.w3.org/TR/html4/strict.dtd"';
 
/*jshint +W098*/
 
function HTMLdocOpen(sDTD, bReplace)
{
if (!docCheck(true)) return;
299,8 → 304,10
}
}
 
/*jshint -W098*/
function HTMLwriteLinkFavIcon(sURL)
{
/*jshint +W098*/
if (sURL.length > 0)
{
HTMLdoc.HTMLwriteTag("link", 'rel="shortcut icon" href="' + sURL + '"');
307,6 → 314,7
}
}
 
/*jshint +W098*/
var HTMLscriptCount = 0;
 
function HTMLwriteScript(sLang, sSrc, sType, sContent)
522,7 → 530,9
this.remove = DocumentListRemove;
}
 
/*jshint -W098*/
var docList = new DocumentList();
/*jshint +W098*/
 
/* General OOP support: Methods, global counter variable and class */