function render($context = null, $vars = array()) { return $this->compress($this->getData(), self::TYPE_JS); }
function testJs() { $c = new YuglifyJs(__DIR__ . '/fixtures/test.js'); $this->assertNotEmpty($c->render()); }