mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-13 22:26:06 +01:00
e4b570f8fb
- `grunt webpack:dev` now copies packages JS into `/src/wp-includes/js/dist`, and CSS into `/src/wp-includes/css/dist`. - `grunt webpack:prod` does the same, but into `/build` instead of `/src`. - `grunt build` now runs the `webpack:prod` task. Merges [43760] from the 5.0 branch to trunk. Props atimmer, pento. Fixes #45119. Built from https://develop.svn.wordpress.org/trunk@44159 git-svn-id: http://core.svn.wordpress.org/trunk@43989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
1 line
353 B
JavaScript
1 line
353 B
JavaScript
!function(){function t(t){if(!(0 in arguments))throw new TypeError("1 argument is required");do{if(this===t)return!0}while(t=t&&t.parentNode);return!1}if("HTMLElement"in this&&"contains"in HTMLElement.prototype)try{delete HTMLElement.prototype.contains}catch(t){}"Node"in this?Node.prototype.contains=t:document.contains=Element.prototype.contains=t}(); |