Annotation of loncom/html/adm/jsMath/plugins/noGlobal.js, revision 1.1

1.1     ! albertel    1: /*
        !             2:  *  noGlobal.js
        !             3:  *  
        !             4:  *  Part of the jsMath package for mathematics on the web.
        !             5:  *
        !             6:  *  This file disables the Go Global button.  It should be loaded
        !             7:  *  BEFORE jsMath.js.
        !             8:  *
        !             9:  *  ---------------------------------------------------------------------
        !            10:  *
        !            11:  *  Copyright 2006 by Davide P. Cervone
        !            12:  * 
        !            13:  *  Licensed under the Apache License, Version 2.0 (the "License");
        !            14:  *  you may not use this file except in compliance with the License.
        !            15:  *  You may obtain a copy of the License at
        !            16:  * 
        !            17:  *      http://www.apache.org/licenses/LICENSE-2.0
        !            18:  * 
        !            19:  *  Unless required by applicable law or agreed to in writing, software
        !            20:  *  distributed under the License is distributed on an "AS IS" BASIS,
        !            21:  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
        !            22:  *  See the License for the specific language governing permissions and
        !            23:  *  limitations under the License.
        !            24:  */
        !            25: 
        !            26: if (!window.jsMath) {window.jsMath = {}}
        !            27: if (!jsMath.Controls) {jsMath.Controls = {}}
        !            28: if (!jsMath.Controls.cookie) {jsMath.Controls.cookie = {}}
        !            29: 
        !            30: jsMath.noGoGlobal = 1;
        !            31: jsMath.noChangeGlobal = 1;
        !            32: jsMath.noShowGlobal = 1;
        !            33: jsMath.Controls.cookie.global = 'never';

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>