Changeset 49250
- Timestamp:
- 10/20/2020 06:32:03 PM (4 years ago)
- Location:
- trunk/src/wp-content/themes/twentytwentyone
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwentyone
-
Property
svn:ignore
set to
node_modules
-
Property
svn:ignore
set to
-
trunk/src/wp-content/themes/twentytwentyone/assets/js/customize-helpers.js
r49247 r49250 6 6 * @return {number} - Returns the luminance, number between 0 and 255. 7 7 */ 8 function twentytwentyoneGetHexLum( hex ) { // eslint-disable-line no-unused-vars8 function twentytwentyoneGetHexLum( hex ) { // jshint ignore:line 9 9 var rgb = twentytwentyoneGetRgbFromHex( hex ); 10 10 return Math.round( ( 0.2126 * rgb.r ) + ( 0.7152 * rgb.g ) + ( 0.0722 * rgb.b ) ); -
trunk/src/wp-content/themes/twentytwentyone/assets/js/primary-navigation.js
r49247 r49250 39 39 * @param {Element} el - The element. 40 40 */ 41 function twentytwentyoneExpandSubMenu( el ) { // eslint-disable-line no-unused-vars41 function twentytwentyoneExpandSubMenu( el ) { // jshint ignore:line 42 42 // Close submenu that was opened from a hover action. 43 43 // We'll return early in this case to avoid changing the aria-expanded attribute.
Note: See TracChangeset
for help on using the changeset viewer.