mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-06-05 01:13:40 -04:00
Refactor.
This commit is contained in:
parent
69cc1bd281
commit
003b3f3edb
3 changed files with 4 additions and 4 deletions
|
@ -55,7 +55,7 @@ class Item {
|
|||
public function to_json_object() {
|
||||
|
||||
$obj = array(
|
||||
"absHref" => $this->href,
|
||||
"href" => $this->href,
|
||||
"time" => $this->date * 1000, // seconds (PHP) to milliseconds (JavaScript)
|
||||
"size" => $this->size
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue