Skip to content

Commit c092fa1

Browse files
committed
In preparation for PHPDebugConsole v3.3
1 parent 154ae98 commit c092fa1

25 files changed

Lines changed: 1105 additions & 937 deletions

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ end_of_line = lf
88
charset = utf-8
99

1010
[*.js]
11+
indent_size = 2
1112
insert_final_newline = true
1213
trim_trailing_whitespace = true
1314

@@ -19,3 +20,6 @@ indent_style = space
1920
indent_size = 4
2021
insert_final_newline = true
2122
trim_trailing_whitespace = true
23+
24+
[*.scss]
25+
indent_size = 2

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "bdk/debug-wamp-client",
3-
"description": "Html/Javascript WAMP based debug client used in conjuction with PHPDebugConsole on the server",
4-
"keywords": ["debug", "debugging", "wamp", "wampws", "var_dump", "inspect", "errorhandler", "phpdebugconsole"],
3+
"description": "Html/Javascript WAMP based debug client used in conjunction with PHPDebugConsole on the server",
4+
"keywords": ["debug", "debugging", "wamp", "wampws", "var_dump", "inspect", "errorhandler", "phpDebugConsole"],
55
"homepage": "http://github.com/bkdotcom/DebugWampClient",
66
"license": "MIT",
77
"authors": [

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ $ cd debugWampClient
4949
```php
5050
<?php
5151

52-
require __DIR__.'/vendor/autoload.php';
52+
require __DIR__ . '/vendor/autoload.php';
5353

5454
// we pass a debug instance so that the client can use the javascript & css it provides
5555
$debug = \bdk\Debug::getInstance();

src/WampClient.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,17 @@ public function actionIndex()
8282
}, \file_get_contents(__DIR__ . '/views/index.html'));
8383
}
8484

85+
/**
86+
* Output charData json
87+
*
88+
* @return void
89+
*/
90+
public function actionCharData()
91+
{
92+
\header('Content-Type: application/json');
93+
echo \json_encode($this->debug->getDump('base')->valDumper->charData);
94+
}
95+
8596
/**
8697
* Output CSS
8798
*

src/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
require __DIR__.'/vendor/autoload.php';
3+
require __DIR__ . '/vendor/autoload.php';
44

55
// we pass a debug instance so that the client can use the javascript & css it provides
66
$debug = \bdk\Debug::getInstance();

0 commit comments

Comments
 (0)