Files
ystavakylaecard/sparks/assets/1.5.1/libraries/coffeescript/yy/Extends.php
Ismo Vuorinen 7e73994e40 Sparks: Assets, 1.5.1
http://getsparks.org/packages/assets/versions/HEAD/show

Creates our minified and combined .js and .css files
2013-07-11 07:46:29 +03:00

27 lines
432 B
PHP
Executable File

<?php
namespace CoffeeScript;
class yy_Extends extends yy_Base
{
public $children = array('child', 'parent');
function constructor($child, $parent)
{
$this->child = $child;
$this->parent = $parent;
return $this;
}
function compile($options)
{
$tmp = yy('Call', yy('Value', yy('Literal', utility('extends'))),
array($this->child, $this->parent));
return $tmp->compile($options);
}
}
?>