This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ( function( $ ) { | |
| // Store the original method for all other uses | |
| var oldRemoveClass = $.fn.removeClass; | |
| // Replace existing method iwth new version | |
| $.fn.removeClass = function( className ) { | |
| if ( className instanceof RegExp ) { | |
| // Run a regex replace on each element's class name list | |
| return $( this ).each( function() { | |
| var classes = $( this ).attr( 'class' ) || ''; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .wp-block-premise-map { | |
| .google-map-canvas { | |
| height: 400px; | |
| background: $color-grey; | |
| } | |
| .google-map-search { | |
| font-size: 16px; | |
| padding: 10px 80px 0 0; | |
| input { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Proxy for the `wp` object, with fallback | |
| * to experimental names and error throwing | |
| * when accessing a non-existent item (intended | |
| * for debugging purposes). | |
| */ | |
| export default new Proxy( {}, { | |
| get( cache, moduleName, reciever ) { | |
| if ( typeof cache[ moduleName ] === 'undefined' ) { | |
| if ( typeof wp[ moduleName ] === 'undefined' ) { |
OlderNewer