You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by jb...@apache.org on 2010/08/17 18:44:57 UTC

svn commit: r986380 - /commons/sandbox/gsoc/2010/scxml-js/trunk/build.js

Author: jbeard
Date: Tue Aug 17 16:44:57 2010
New Revision: 986380

URL: http://svn.apache.org/viewvc?rev=986380&view=rev
Log:
Removed reference to util module, which was deleted last commit.

Modified:
    commons/sandbox/gsoc/2010/scxml-js/trunk/build.js

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/build.js
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/build.js?rev=986380&r1=986379&r2=986380&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/build.js (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/build.js Tue Aug 17 16:44:57 2010
@@ -17,8 +17,7 @@
 
 
 require.def("build",
-	["src/javascript/scxml/cgf/util",
-		"src/javascript/scxml/cgf/util/file",	
+	[ "src/javascript/scxml/cgf/util/file",	
 		"src/javascript/scxml/cgf/SCXMLCompiler",
 		"src/javascript/scxml/cgf/PerformanceAnalyzer",
 		"src/javascript/scxml/cgf/util/xsl/rhino",
@@ -27,7 +26,7 @@ require.def("build",
 		"lib/js/json2.js",
 		"lib/test-js/env.js",
 		"lib/test-js/dojo-release-1.4.2-src/dojo/dojo.js"],
-	function(util,utilFile,SCXMLCompiler,PerformanceAnalyzer,Transformer,xmlUtil){
+	function(utilFile,SCXMLCompiler,PerformanceAnalyzer,Transformer,xmlUtil){
 
 		return function(args){
 
@@ -698,7 +697,7 @@ require.def("build",
 
 						require(unitTestScripts,
 							function(){
-								var unitTestModules = util.toJsArray(arguments);
+								var unitTestModules = Array.prototype.slice.call(arguments);
 
 								unitTestModules.forEach(function(unitTestModule){