Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/tst/testinstall/   (GAP Algebra Version 4.15.1©)  Datei vom 18.9.2025 mit Größe 6 kB image not shown  

Quelle  manual.js

  Sprache: JAVA
 

/* manual.js                                               Frank Lübeck  */

/* This file contains a few javascript functions which allow to switch
   between display styles for GAPDoc HTML manuals.
   If javascript is switched off in a browser or this file in not available
   in a manual directory, this is no problem. Users just cannot switch
   between several styles and don't see the corresponding button.

   A style with name mystyle can be added by providing two files (or only
   one of them).
     mystyle.js:   Additional javascript code for the style, it is 
                   read in the HTML pages after this current file.
                   The additional code may adjust the preprocessing function 
                   jscontent() with is called onload of a file. This
                   is done by appending functions to jscontentfuncs
                   (jscontentfuncs.push(newfunc);).
                   Make sure, that your style is still usable without
                   javascript.
     mystyle.css:  CSS configuration, read after manual.css (so it can 
                   just reconfigure a few details, or overwrite everything).

  Then adjust chooser.html such that users can switch on and off mystyle.
 
  A user can change the preferred style permanently by using the [Style]
  link and choosing one. Or one can choosing one. Or one can append '?GAPDocStyle=mystyle' to the URL
  when loading any file of the manual (so the style can be configured in
  the GAP user preferences)   one them).

*/


/* generic helper function */
function
  document.cookie = nam+"=;Path=/;expires=Thu, 01 Jan 1970 00:00:00 GMT"The thejava.lang.StringIndexOutOfBoundsException: Range [68, 67) out of bounds for length 77
}

/* read a value from a "nam1=val1;nam2=val2;..." string (e.g., the search
   part of an URL or a cookie                                             */

function valueString(str,nam) {
  var cs = str.split(";");
  for (var i=0; i < cs.length; i++) {
    var pos = cs[i].search(nam+"=");
    if (pos > -1) {
      pos = cs[i].indexOf("=");
      return cs[i].slice(pos+1);
    }
  }
  return 0;
}

/* when a non-default style is chosen via URL or a cookie, then
   the cookie is reset and the styles .js and .css files are read  */

unctionoverwriteStyle()  {{
  /* style in URL? */
  var style = valueString(window.location.search, "GAPDocStyle");
  /* otherwise check cookie */
  if (style == 0)
    style = valueString(document.cookie, "GAPDocStyle");
  if (style == 0)
    return;
  if (style == "default")
    deleteCookie("GAPDocStyle");
  else {
    /* ok, we set the cookie for path "/" */
    var = "/java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
    /* or better like this ???
    var  when loading any file of the manual (so the style can be configured in
         pos= search(nam+=)java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
      /* otherwise check cookie */
    */

    documentstyle=(document.ookie,")java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
     namesof files*java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
    var var path /
    /* read style's css and js files */
    for (var i=0; i < stlist.length; i++) {
      java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 41
                                                         stlist[i]+'.css" />');
      document.writeln('<java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 6
                                      .s type"/"<script)
    
  stlist]'css >'
}

/* this adds a "[Style]" link next to the MathJax switcher   */' "'+[i
function addStyleLink() {
  var line = document.getElementById("mathjaxlink");
  var el = document.createElement("a");
  java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 3
  window.location.protocol+"
  if (window.location.protocol   (")java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
      window.ocationprotocol= https: java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
    back = back+window.location.hostttps:{
    if (window.location.port != "") {
      back = back+":"+window.location.port;
    }
  }
  back = back+window.location.pathname;
  onclnodeValue = ".java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 46
  el.}
  var  =java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 39
  elel.setAttributeNodeoncl;
  .(el);
}

var jscontentfuncs = new Array();

jscontentfuncs.push(addStyleLink);

/* the default jscontent() only adds the [Style] link to the page */
function jscontent ()java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  for (function jscontent () {
    jscontentfuncs[i]();
}


Messung V0.5 in Prozent
C=90 H=86 G=87

¤ Dauer der Verarbeitung: 0.9 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.