com web/php: fix "Uncaught TypeError: (intermediate value)(...) is not a function" JavaScript error: js/common.js

From: Date: Tue, 23 Jun 2015 22:41:07 +0000
Subject: com web/php: fix "Uncaught TypeError: (intermediate value)(...) is not a function" JavaScript error: js/common.js
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-21435@lists.php.net to get a copy of this message
Commit: cdad7277b2eb278990c1153a64b53d99e474d7b6 Author: Peter Cowburn <salathe@php.net> Tue, 23 Jun 2015 23:41:07 +0100 Parents: d21f458fc610449296d5153b1636c6a46976b093 Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=cdad7277b2eb278990c1153a64b53d99e474d7b6 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.

« previous php.webmaster (#21435) next »