* @return array Handles of items that have been processed.
*/
public function do_items( $handles = false, $group = false ) {
- /**
+ /*
* If nothing is passed, print the queue. If a string is passed,
* print that item. If an array is passed, print those items.
*/
foreach( $this->to_do as $key => $handle ) {
if ( !in_array($handle, $this->done, true) && isset($this->registered[$handle]) ) {
- /**
+ /*
* A single item may alias a set of items, by having dependencies,
* but no source. Queuing the item queues the dependencies.
*
* <code>add( 'scriptaculous', false, array( 'scriptaculous-dragdrop', 'scriptaculous-slider', 'scriptaculous-controls' ) );</code>
*
* The src property is false.
- **/
+ */
if ( ! $this->registered[$handle]->src ) {
$this->done[] = $handle;
continue;
}
- /**
+ /*
* Attempt to process the item. If successful,
* add the handle to the done array.
*