if ( 'documentMode' in document && document.documentMode <= 9 ) {
$style = getMarker().prev();
- // Verify that the the element before Marker actually is a
+ // Verify that the element before Marker actually is a
// <style> tag and one that came from ResourceLoader
// (not some other style tag or even a `<meta>` or `<script>`).
if ( $style.data( 'ResourceLoaderDynamicStyleTag' ) === true ) {
var check = checkCssHandles;
pending++;
return function () {
- if (check) {
+ if ( check ) {
pending--;
check();
check = undefined; // Revoke
* Get the state of a module.
*
* @param {string} module Name of module
- * @return {string|null} The state, or null if the module (or its version) is not
+ * @return {string|null} The state, or null if the module (or its state) is not
* in the registry.
*/
getState: function ( module ) {