You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by ts...@apache.org on 2015/05/30 07:03:38 UTC

[12/26] drill git commit: aasgsdgsd

aasgsdgsd


Project: http://git-wip-us.apache.org/repos/asf/drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/eb7e4465
Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/eb7e4465
Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/eb7e4465

Branch: refs/heads/gh-pages
Commit: eb7e446513f64612cc8ab3edae801a290056b96a
Parents: 0283a9e
Author: Elliot Berry <el...@Marks-iMac-2.local>
Authored: Fri May 29 11:58:10 2015 -0400
Committer: Elliot Berry <el...@Marks-iMac-2.local>
Committed: Fri May 29 11:58:10 2015 -0400

----------------------------------------------------------------------
 js/script.js | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/eb7e4465/js/script.js
----------------------------------------------------------------------
diff --git a/js/script.js b/js/script.js
index b68d97d..bd99f3f 100755
--- a/js/script.js
+++ b/js/script.js
@@ -38,13 +38,12 @@ $(document).ready(function(e) {
 	
 	$(window).scroll(onScroll);
 
-	function getParameterByName(name) {
+
     name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
     var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
-        results = regex.exec(location.search);
-        alert(results);
-    return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
-	}
+    results = regex.exec(location.search);
+    alert(results);
+    
 });
 
 var reel_currentIndex = 0;