boot-fx/src/test/resources/net/java/html/boot/fx/wnd.js
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Thu, 12 Dec 2013 23:54:32 +0100
changeset 349 53634fd10e30
child 358 80702021b851
permissions -rw-r--r--
Load global scripts when first method in the class is called
     1 /*
     2  * HTML via Java(tm) Language Bindings
     3  * Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
     4  *
     5  * This program is free software: you can redistribute it and/or modify
     6  * it under the terms of the GNU General Public License as published by
     7  * the Free Software Foundation, version 2 of the License.
     8  *
     9  * This program is distributed in the hope that it will be useful,
    10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    12  * GNU General Public License for more details. apidesign.org
    13  * designates this particular file as subject to the
    14  * "Classpath" exception as provided by apidesign.org
    15  * in the License file that accompanied this code.
    16  *
    17  * You should have received a copy of the GNU General Public License
    18  * along with this program. Look for COPYING file in the top folder.
    19  * If not, see http://wiki.apidesign.org/wiki/GPLwithClassPathException
    20  */
    21 if (typeof wnd !== 'undefined') {
    22     throw 'Window should not be defined yet: ' + wnd;
    23 }
    24 
    25 wnd = {
    26 };
    27