Commit:    40a23a5a5fae1c3b4eef4f8359a26fecd57052ab
Author:    Peter Cowburn <[email protected]>         Tue, 23 Jun 2015 23:41:07 
+0100
Parents:   460415724a6cf08b11f9f9435c658f4f33250cca
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=40a23a5a5fae1c3b4eef4f8359a26fecd57052ab

Log:
fix "Uncaught TypeError: (intermediate value)(...) is not a function" 
JavaScript error

Changed paths:
  M  js/common.js


Diff:
diff --git a/js/common.js b/js/common.js
index fc5e1b3..32d2b2c 100755
--- a/js/common.js
+++ b/js/common.js
@@ -3,12 +3,12 @@
 String.prototype.escapeSelector = function()
 {
   return this.replace(/(.|#)([ #;&,.+*~\':"!^$\[\]\(\)=>|\/])/g, '$1' + 
'\\\\$2');
-}
+};
 
 String.prototype.toInt = function()
 {
   return parseInt(this);
-}
+};
 
 /** {{{
 * jQuery.ScrollTo - Easy element scrolling using jQuery.


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to