1.1 --- a/vm/nb-configuration.xml Wed Nov 28 17:58:10 2012 +0100
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,37 +0,0 @@
1.4 -<?xml version="1.0" encoding="UTF-8"?>
1.5 -<!--
1.6 -
1.7 - Back 2 Browser Bytecode Translator
1.8 - Copyright (C) 2012 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
1.9 -
1.10 - This program is free software: you can redistribute it and/or modify
1.11 - it under the terms of the GNU General Public License as published by
1.12 - the Free Software Foundation, version 2 of the License.
1.13 -
1.14 - This program is distributed in the hope that it will be useful,
1.15 - but WITHOUT ANY WARRANTY; without even the implied warranty of
1.16 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.17 - GNU General Public License for more details.
1.18 -
1.19 - You should have received a copy of the GNU General Public License
1.20 - along with this program. Look for COPYING file in the top folder.
1.21 - If not, see http://opensource.org/licenses/GPL-2.0.
1.22 -
1.23 --->
1.24 -<project-shared-configuration>
1.25 - <!--
1.26 -This file contains additional configuration written by modules in the NetBeans IDE.
1.27 -The configuration is intended to be shared among all the users of project and
1.28 -therefore it is assumed to be part of version control checkout.
1.29 -Without this configuration present, some functionality in the IDE may be limited or fail altogether.
1.30 --->
1.31 - <properties xmlns="http://www.netbeans.org/ns/maven-properties-data/1">
1.32 - <!--
1.33 -Properties that influence various parts of the IDE, especially code formatting and the like.
1.34 -You can copy and paste the single properties, into the pom.xml file and the IDE will pick them up.
1.35 -That way multiple projects can share the same settings (useful for formatting rules for example).
1.36 -Any value defined here will override the pom.xml file value but is only applicable to the current project.
1.37 --->
1.38 - <netbeans.compile.on.save>all</netbeans.compile.on.save>
1.39 - </properties>
1.40 -</project-shared-configuration>
2.1 --- a/vm/src/test/java/org/apidesign/vm4brwsr/VMLazyTest.java Wed Nov 28 17:58:10 2012 +0100
2.2 +++ b/vm/src/test/java/org/apidesign/vm4brwsr/VMLazyTest.java Wed Nov 28 21:38:37 2012 +0100
2.3 @@ -58,11 +58,11 @@
2.4 + " loader.get(res + '.class')"
2.5 + ");");
2.6 sb.append("\n try {");
2.7 - sb.append("\n new Function(script)(self, name);");
2.8 + sb.append("\n new Function(script)(glb, name);");
2.9 sb.append("\n } catch (ex) {");
2.10 sb.append("\n throw 'Cannot compile ' + res + ' error: ' + ex + ' script:\\n' + script;");
2.11 sb.append("\n };");
2.12 - sb.append("\n return self[name](true);");
2.13 + sb.append("\n return glb[name](true);");
2.14 sb.append("\n };");
2.15 sb.append("\n");
2.16 sb.append("\n}\n");