From: Alan Knowles Date: Fri, 14 Oct 2016 02:41:47 +0000 (+0800) Subject: CodeDoc/Data/Class.php X-Git-Url: http://git.roojs.org/?p=PHP_CodeDoc;a=commitdiff_plain;h=6411ad656d339a29846af3ef1027f6e6b9e7ca86 CodeDoc/Data/Class.php --- diff --git a/CodeDoc/Data/Class.php b/CodeDoc/Data/Class.php index 966c3a1..93b7c15 100644 --- a/CodeDoc/Data/Class.php +++ b/CodeDoc/Data/Class.php @@ -77,7 +77,7 @@ class PHP_CodeDoc_Data_Class { foreach($this->Attributes as $op) { // $ret[$this->name . '.'.$op->name] = $op->toJS(); } - $ret[str_replace('_','-',strtolower($this->name))] = $cats; + $ret[ $this->name] = $cats; return $ret; }