public
Description: PHP5 Unit Testing Framework
Homepage: http://www.snaptest.net
Clone URL: git://github.com/Jakobo/snaptest.git
fixed URL handling bug in constants.js when URL had a # in it

Signed-off-by: Jakob Heuser <jakob@felocity.org>
Jakobo (author)
Thu Jun 12 00:04:40 -0700 2008
commit  5d29c2aa036ccbf59c4f452bd54045fa137c41a7
tree    e697e006cd15f8dfa0c37ae26a9a47910cff7094
parent  866fc2b2a06cc84b9ab76d3254faa7b0da01a2fe
...
5
6
7
 
 
8
9
10
...
5
6
7
8
9
10
11
12
0
@@ -5,6 +5,8 @@ YAHOO.namespace("SnapTest.Constants");
0
 
0
 // define some var within a local scope
0
 var loc = location.href;
0
+loc = loc.replace(/#/, '');
0
+
0
 var connect = (loc.match(/\?/)) ? '&' : '?';
0
 
0
 loc = loc+connect;

Comments

    No one has commented yet.