Changeset 201658 in webkit


Ignore:
Timestamp:
Jun 3, 2016 2:35:06 PM (8 years ago)
Author:
Nikita Vasilyev
Message:

Web Inspector: Remove unused WebInspector.CSSCompletions methods
https://bugs.webkit.org/show_bug.cgi?id=158352

Reviewed by Joseph Pecoraro.

  • UserInterface/Models/CSSCompletions.js:

(WebInspector.CSSCompletions.prototype.firstStartsWith): Deleted.
(WebInspector.CSSCompletions.prototype.isLonghandPropertyName): Deleted.
(WebInspector.CSSCompletions.prototype.longhandsForShorthand): Deleted.

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r201650 r201658  
     12016-06-03  Nikita Vasilyev  <nvasilyev@apple.com>
     2
     3        Web Inspector: Remove unused WebInspector.CSSCompletions methods
     4        https://bugs.webkit.org/show_bug.cgi?id=158352
     5
     6        Reviewed by Joseph Pecoraro.
     7
     8        * UserInterface/Models/CSSCompletions.js:
     9        (WebInspector.CSSCompletions.prototype.firstStartsWith): Deleted.
     10        (WebInspector.CSSCompletions.prototype.isLonghandPropertyName): Deleted.
     11        (WebInspector.CSSCompletions.prototype.longhandsForShorthand): Deleted.
     12
    1132016-06-03  Joseph Pecoraro  <pecoraro@apple.com>
    214
  • trunk/Source/WebInspectorUI/UserInterface/Models/CSSCompletions.js

    r196843 r201658  
    190190    }
    191191
    192     firstStartsWith(prefix)
    193     {
    194         var foundIndex = this._firstIndexOfPrefix(prefix);
    195         return (foundIndex === -1 ? "" : this._values[foundIndex]);
    196     }
    197 
    198192    _firstIndexOfPrefix(prefix)
    199193    {
     
    270264    }
    271265
    272     isLonghandPropertyName(longhand)
    273     {
    274         return longhand in this._shorthands;
    275     }
    276 
    277     longhandsForShorthand(shorthand)
    278     {
    279         return this._longhands[shorthand] || [];
    280     }
    281 
    282266    shorthandsForLonghand(longhand)
    283267    {
Note: See TracChangeset for help on using the changeset viewer.