Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

added a compatibility layer for original w3 tests (attempt at lowerin…

…g the barrier to entry)
  • Loading branch information...
commit 68c8bbd59567a7913f2c3e95ae7a78348885277f 1 parent c1436b9
Elijah Insua authored January 20, 2010
2  LICENSE.txt
... ...
@@ -1,4 +1,4 @@
1  
-Copyright (c) 2010 Elijah Insua, Vincent Greene
  1
+Copyright (c) 2010 Elijah Insua
2 2
 
3 3
 Permission is hereby granted, free of charge, to any person
4 4
 obtaining a copy of this software and associated documentation
2  test/collector.php
@@ -26,7 +26,7 @@
26 26
 	
27 27
 	$function = str_replace("function ", "", $function);
28 28
 	$function = str_replace("() {", " : function () {", $function);
29  
-	
  29
+	//$function = preg_replace("/if\(checkInitialization\(builder, \"[a-zA-Z0-9_]+\"\) \!= null\) return;/", '', $function);
30 30
 	
31 31
 	// parse out the actual function
32 32
 	array_push($functionBodies, trim($function));
25,404  test/level1/coreindex.js
0 additions, 25404 deletions not shown
12  test/runner.js
... ...
@@ -1,6 +1,18 @@
1 1
 var sys = require("sys");
2 2
 process.mixin(GLOBAL, require("./mjsunit"));
3 3
 
  4
+// Compat Layer
  5
+GLOBAL.load = function() {
  6
+};
  7
+
  8
+GLOBAL.checkInitialization = function() {
  9
+	return null;
  10
+};
  11
+
  12
+GLOBAL.builder = function() {
  13
+};
  14
+// End Compat Layer
  15
+
4 16
 
5 17
 var errors = [];
6 18
 

0 notes on commit 68c8bbd

Please sign in to comment.
Something went wrong with that request. Please try again.