WebCore/ChangeLog

 12010-06-02 Nikita Vasilyev <me@elv1s.ru>
 2
 3 Reviewed by NOBODY (OOPS!).
 4
 5 Web Inspector: better Function.prototype.bind for the internal code.
 6
 7 In the "Event Listeners" pane show handler function instead of Function.prototype.bind.
 8
 9 https://bugs.webkit.org/show_bug.cgi?id=40080
 10
 11 * inspector/front-end/utilities.js:
 12 (Function.prototype.bind.bound):
 13 (Function.prototype.bind.bound.toString):
 14 (Function.prototype.bind):
 15
1162010-06-02 David Hyatt <hyatt@apple.com>
217
318 Reviewed by Anders Carlsson.

WebCore/inspector/front-end/utilities.js

@@Function.prototype.bind = function(thisObject)
5555{
5656 var func = this;
5757 var args = Array.prototype.slice.call(arguments, 1);
58  return function() { return func.apply(thisObject, args.concat(Array.prototype.slice.call(arguments, 0))) };
 58 function bound() {
 59 return func.apply(thisObject, args.concat(Array.prototype.slice.call(arguments, 0)));
 60 };
 61 bound.toString = function toString() {
 62 return func.toString();
 63 };
 64 return bound;
5965}
6066
6167Node.prototype.rangeOfWord = function(offset, stopCharacters, stayWithinNode, direction)