Subversion Repositories JSX

Compare Revisions

Last modification

Ignore whitespace Rev 622 → Rev 621

/trunk/document.js
57,9 → 57,7
write: function(s) {
return jsx.tryThis(
function() {
/*jshint -W060*/
document.write(s);
/*jshint +W060*/
 
/* fix circular reference */
s = null;
117,7 → 115,6
}
 
/* 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"';
143,8 → 140,6
/* 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;
304,10 → 299,8
}
}
 
/*jshint -W098*/
function HTMLwriteLinkFavIcon(sURL)
{
/*jshint +W098*/
if (sURL.length > 0)
{
HTMLdoc.HTMLwriteTag("link", 'rel="shortcut icon" href="' + sURL + '"');
314,7 → 307,6
}
}
 
/*jshint +W098*/
var HTMLscriptCount = 0;
 
function HTMLwriteScript(sLang, sSrc, sType, sContent)
530,9 → 522,7
this.remove = DocumentListRemove;
}
 
/*jshint -W098*/
var docList = new DocumentList();
/*jshint +W098*/
 
/* General OOP support: Methods, global counter variable and class */