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