CodeExplorer get_eligible_loading_strategy example
if ( null ===
$obj->ver
) { $ver = '';
} else { $ver =
$obj->ver ?
$obj->ver :
$this->default_version;
} if ( isset( $this->args
[ $handle ] ) ) { $ver =
$ver ?
$ver . '&' .
$this->args
[ $handle ] :
$this->args
[ $handle ];
} $src =
$obj->src;
$strategy =
$this->
get_eligible_loading_strategy( $handle );
$intended_strategy =
(string) $this->
get_data( $handle, 'strategy'
);
$cond_before = '';
$cond_after = '';
$conditional =
isset( $obj->extra
['conditional'
] ) ?
$obj->extra
['conditional'
] : '';
if ( !
$this->
is_delayed_strategy( $intended_strategy ) ) { $intended_strategy = '';
} if ( $conditional ) { $cond_before = "<!--[if {
$conditional}]>\n";