csscomb::end_of_process PHP Method

end_of_process() public method

public end_of_process ( )
    function end_of_process()
    {
        // TODO: WTF???
        if ($this->code['edited'] !== '' and $this->output !== false) {
            echo '<style>
    body{margin:0;}
    .diff{
        width:100%;
        height:400px;
        overflow:auto;
        }
        .diff textarea{
            width:50%;
            height:9999px;
            padding:0;
            margin:0;
            border:0;
            background:#f5f5f5;
            }
</style>
<div class="diff">
<textarea name="in" id="in" cols="30" rows="10">' . $this->code['original'] . '</textarea><textarea name="out" id="out" cols="30" rows="10">' . $this->code['resorted'] . '</textarea>
</div>';
        }
        if ($this->output === false) {
            return $this->code['resorted'];
        }
    }