protected function register_dependency( $dependency, $dependency_key, $context = null ) {
		$handler = $this->handlers[ $context['dependency_type'] ];
		$handler->register( $dependency );

		if ( $this->enqueue_immediately ) {
			$this->register_enqueue_hooks( $dependency, $context );
		}
	}
protected function register_dependency( $dependency, $dependency_key, $context = null ) {
		$handler = $this->handlers[ $context['dependency_type'] ];
		$handler->register( $dependency );

		if ( $this->enqueue_immediately ) {
			$this->register_enqueue_hooks( $dependency, $context );
		}
	}
protected function register_dependency ( $ dependency , $ dependency_key , $ context = null ) { $ handler = $ this -> handlers [ $ context [ 'dependency_type' ] ] ; $ handler -> register ( $ dependency ) ; if ( $ this -> enqueue_immediately ) { $ this -> register_enqueue_hooks ( $ dependency , $ context ) ; } }
Register a single dependency.

@since 0.1.0

@param array  $dependency     Configuration data of the dependency.
@param string $dependency_key Config key of the dependency.
@param mixed  $context        Optional. Context to pass to the
dependencies. Contains the type of the
dependency at key
'dependency_type'.
Register a single dependency .