From 6d573b3fc360467ba8f8e8bf7dc4beaebda1249f Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Sat, 1 Sep 2018 17:14:17 +0200 Subject: nobody uses use_it_state anymore --- it_html.class | 4 ---- itjs.class | 1 - itjs/state.html | 31 ------------------------------- 3 files changed, 36 deletions(-) delete mode 100644 itjs/state.html diff --git a/it_html.class b/it_html.class index bca1689..390e8ae 100644 --- a/it_html.class +++ b/it_html.class @@ -86,7 +86,6 @@ function __construct($p = array()) 'staticallycallable' => 'Q,U,select', # Those methods are statically callable (have same arguments as global stubs) but are a bit slower 'tags' => "a,b,br,button,div,em,fieldset,form,h1,h2,h3,h4,h5,h6,hr,img,input,label,legend,li,meta,noscript,p,pre,span,style,table,tbody,td,textarea,tfoot,th,thead,tr,ul,ol,article,section", 'title' => '', # HTML title (default: no title added) - 'use_it_state' => false, # If true, generate code needed by state.js (aka 'history iframe') 'srclines' => $GLOBALS['debug_srclines'], # append stackdump to each tag 'error_on_redefine' => false, # Generate it::error when trying to redefine function for a tag ); @@ -252,9 +251,6 @@ function head($args = array()) */ function body($args) { - if ($this->p['use_it_state']) - array_unshift($args, tag('iframe', array('id' => "it_state", 'src' => "/itjs/state.html", 'width' => 1, 'height' => 1, 'frameborder' => 0))); - if (EDC('what')) { $debugvars = array_merge($GLOBALS['ULTRADEBUGVARS'], array('srclines' => 1, 'texts' => 1)); diff --git a/itjs.class b/itjs.class index 9201cc3..338e91e 100644 --- a/itjs.class +++ b/itjs.class @@ -127,7 +127,6 @@ static function filenames($filelist) $special = array( "itools" => "$itjs/it.js,$itjs/http.js,$itjs/loader.js,$itjs/state.js,$itjs/timer.js", "boot.js" => "$itjs/boot.js", - "state.html" => "$itjs/state.html", "error.gif" => "$itjs/error.gif", "search.css" => "$libsearch/doc/search.css", "prettyprint.css" => "$libsearch/doc/prettyprint.css", diff --git a/itjs/state.html b/itjs/state.html deleted file mode 100644 index 36f36c0..0000000 --- a/itjs/state.html +++ /dev/null @@ -1,31 +0,0 @@ - - -
-