mirror of
https://github.com/Ekokumppanit/ystavakylaecard.git
synced 2026-02-23 06:50:22 +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:
37
sparks/assets/1.5.1/libraries/coffeescript/yy/Comment.php
Executable file
37
sparks/assets/1.5.1/libraries/coffeescript/yy/Comment.php
Executable file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
namespace CoffeeScript;
|
||||
|
||||
class yy_Comment extends yy_Base
|
||||
{
|
||||
function constructor($comment)
|
||||
{
|
||||
$this->comment = $comment;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
function compile_node($options, $level = NULL)
|
||||
{
|
||||
$code = '/*'.multident($this->comment, $this->tab)."\n{$this->tab}*/\n";
|
||||
|
||||
if ($level === LEVEL_TOP || $options['level'] === LEVEL_TOP)
|
||||
{
|
||||
$code = $options['indent'].$code;
|
||||
}
|
||||
|
||||
return $code;
|
||||
}
|
||||
|
||||
function is_statement()
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
function make_return()
|
||||
{
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user