⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 117774 in webkit


Ignore:
Timestamp:
May 21, 2012, 6:02:57 AM (14 years ago)
Author:
pfeldman@chromium.org
Message:

Web Inspector: declare setFormatted on UISourceCode (otherwise fails for styles).

Not reviewed: front-end fix as a follow up to r117751.

  • inspector/front-end/UISourceCode.js:

(WebInspector.UISourceCode.prototype.consoleMessagesCleared):
(WebInspector.UISourceCode.prototype.setFormatted):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r117773 r117774  
     12012-05-21  'Pavel Feldman'  <pfeldman@chromium.org>
     2
     3        Web Inspector: declare setFormatted on UISourceCode (otherwise fails for styles).
     4
     5        Not reviewed: front-end fix as a follow up to r117751.
     6
     7        * inspector/front-end/UISourceCode.js:
     8        (WebInspector.UISourceCode.prototype.consoleMessagesCleared):
     9        (WebInspector.UISourceCode.prototype.setFormatted):
     10
    1112012-05-21  Yury Semikhatsky  <yurys@chromium.org>
    212
  • trunk/Source/WebCore/inspector/front-end/UISourceCode.js

    r117600 r117774  
    307307        this._consoleMessages = [];
    308308        this.dispatchEventToListeners(WebInspector.UISourceCode.Events.ConsoleMessagesCleared);
     309    },
     310
     311    /**
     312     * @param {boolean} formatted
     313     * @param {function()=} callback
     314     */
     315    setFormatted: function(formatted, callback)
     316    {
     317        if (callback)
     318            callback();
    309319    }
    310320}
Note: See TracChangeset for help on using the changeset viewer.