mirror of
https://github.com/Ekokumppanit/ystavakylaecard.git
synced 2026-02-17 04:48:13 +00:00
Sparks: Assets, 1.5.1
http://getsparks.org/packages/assets/versions/HEAD/show Creates our minified and combined .js and .css files
This commit is contained in:
26
sparks/assets/1.5.1/libraries/coffeescript/yy/Extends.php
Executable file
26
sparks/assets/1.5.1/libraries/coffeescript/yy/Extends.php
Executable file
@@ -0,0 +1,26 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user