AbstractView::moveJStoParent PHP Method

moveJStoParent() public method

Append our chains to owner's chains. JS chains bubble up to app, which plugs them into template. If the object is being "cut" then only relevant chains will be outputed.
public moveJStoParent ( )
    public function moveJStoParent()
    {
        /** @type AbstractView $this->owner */
        $this->owner->js = array_merge_recursive($this->owner->js, $this->js);
    }