Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
debomatic-webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
debomatic-webui-admins
debomatic-webui
Commits
40b6093b
Commit
40b6093b
authored
Mar 09, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imported unsed function in caller
parent
51ef0a6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
debomatic-webui/lib/client.js
debomatic-webui/lib/client.js
+4
-10
No files found.
debomatic-webui/lib/client.js
View file @
40b6093b
...
...
@@ -71,21 +71,15 @@ function __send_file (event_name, socket, data) {
});
}
function
__handler_get_file
(
socket
,
data
)
{
file_path
=
utils
.
get_file_path
(
data
)
utils
.
watch_path_onsocket
(
'
file_newcontent
'
,
socket
,
data
,
file_path
,
__handler_file_newcontent
)
utils
.
watch_path_onsocket
(
'
file_newcontent
'
,
socket
,
data
,
file_path
,
function
(
event_name
,
socket
,
data
)
{
data
.
file
.
content
=
null
socket
.
emit
(
event_name
,
data
)
})
__send_file
(
'
file
'
,
socket
,
data
)
}
function
__handler_file_newcontent
(
event_name
,
socket
,
data
)
{
if
(
!
utils
.
check_data_file
(
data
))
return
data
.
file
.
content
=
null
socket
.
emit
(
event_name
,
data
)
}
Client
=
function
(
socket
)
{
socket
.
on
(
'
get_distribution_packages
'
,
function
(
data
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment