Browse Source

Merge branch 'master' into dev

Mr.doob 13 years ago
parent
commit
e3f0f1e946
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/page.js

+ 2 - 2
docs/page.js

@@ -1,7 +1,7 @@
 var onDocumentLoad = function ( event ) {
 
-	var name = /[A-z|0-9]+.html/.exec( window.location.pathname ).toString().split( '.html' )[ 0 ];
-	var path = /\/api\/[A-z\/]+/.exec( window.location.pathname ).toString().substr( 5 );
+	var name = /[A-z0-9]+.html/.exec( window.location.pathname ).toString().split( '.html' )[ 0 ];
+	var path = /\/api\/[A-z0-9\/]+/.exec( window.location.pathname ).toString().substr( 5 );
 
 	var text = document.body.innerHTML;