Changeset 196750 in webkit
- Timestamp:
- Feb 18, 2016 12:34:41 AM (8 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r196746 r196750 1 2016-02-18 Devin Rousso <dcrousso+webkit@gmail.com> 2 3 Web Inspector: Storage tab navigation bar should fit on a single line 4 https://bugs.webkit.org/show_bug.cgi?id=152473 5 <rdar://problem/24023435> 6 7 Reviewed by Timothy Hatcher. 8 9 * UserInterface/Base/Utilities.js: 10 (Number.constrain): 11 Reworked logic to ensure that the returned value is never less than the 12 given minimum value. 13 1 14 2016-02-17 Devin Rousso <dcrousso+webkit@gmail.com> 2 15 -
trunk/Source/WebInspectorUI/UserInterface/Base/Utilities.js
r196284 r196750 856 856 value: function(num, min, max) 857 857 { 858 if (max < min) { 859 let temp = max; 860 max = min; 861 min = temp; 862 } 858 if (max < min) 859 return min; 860 863 861 if (num < min) 864 862 num = min;
Note: See TracChangeset
for help on using the changeset viewer.