Skip to content

Commit 1e43237

Browse files
committed
Remove WebSocket components in bundle for DevelNext
1 parent 4a61f37 commit 1e43237

File tree

6 files changed

+3
-226
lines changed

6 files changed

+3
-226
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: "java"
22
apply plugin: "idea"
33
apply plugin: "eclipse"
44

5-
version '1.1.4'
5+
version '1.1.5'
66

77
compileJava {
88
sourceCompatibility = '1.8'
@@ -26,7 +26,7 @@ configurations { provided }
2626
sourceSets { main { compileClasspath += configurations.provided } }
2727

2828
dependencies {
29-
provided files('jars/x-jphp-websocket-client-1.1.4.jar')
29+
provided files('jars/x-jphp-websocket-client-1.1.5.jar')
3030
provided files('jars/x-nv-websocket-client-2.6.jar')
3131
provided files('vendor/jphp-runtime/jars/jphp-runtime-1.0.3.jar')
3232
compile 'com.neovisionaries:nv-websocket-client:2.6'

package.php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: jphp-websocket-client
2-
version: 1.1.4
2+
version: 1.1.5
33

44
deps:
55
jphp-runtime: '*'

src-bundle/develnext/bundle/wsclient/WebSocketClientBundle.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,9 @@ class WebSocketClientBundle extends AbstractJarBundle
1616
public function onAdd(Project $project, AbstractBundle $owner = null)
1717
{
1818
parent::onAdd($project, $owner);
19-
20-
$format = Ide::get()->getRegisteredFormat(ScriptModuleFormat::class);
21-
22-
if($format){
23-
$format->register(new WebSocketClientComponent());
24-
}
2519
}
2620
public function onRemove(Project $project, AbstractBundle $owner = null){
2721
parent::onRemove($project, $owner);
28-
29-
$format = Ide::get()->getRegisteredFormat(ScriptModuleFormat::class);
30-
31-
if($format){
32-
$format->unregister(new WebSocketClientComponent());
33-
}
3422
}
3523

3624
public function onRegister(IdeLibraryBundleResource $resource){

src-bundle/develnext/bundle/wsclient/components/WebSocketClientComponent.php

Lines changed: 0 additions & 48 deletions
This file was deleted.

src-bundle/develnext/bundle/wsclient/components/WebSocketClientComponent.xml

Lines changed: 0 additions & 26 deletions
This file was deleted.

src-bundle/vendor/develnext.bundle.wsclient.WebSocketClientBundle/bundle/wsclient/WebSocketClientScript.php

Lines changed: 0 additions & 137 deletions
This file was deleted.

0 commit comments

Comments
 (0)