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
6ee9a051
Commit
6ee9a051
authored
Mar 12, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renamed init in start and initialized socket in constructor
parent
7b330b50
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
debomatic-webui/public/javascripts/main.js
debomatic-webui/public/javascripts/main.js
+2
-2
debomatic-webui/public/javascripts/page_distribution.js
debomatic-webui/public/javascripts/page_distribution.js
+3
-5
No files found.
debomatic-webui/public/javascripts/main.js
View file @
6ee9a051
...
@@ -3,5 +3,5 @@ var socket = io.connect('//' + config.hostname );
...
@@ -3,5 +3,5 @@ var socket = io.connect('//' + config.hostname );
new
Page_Generic
().
init
(
socket
)
new
Page_Generic
().
init
(
socket
)
if
(
window
.
location
.
pathname
==
config
.
paths
.
distribution
)
{
if
(
window
.
location
.
pathname
==
config
.
paths
.
distribution
)
{
new
Page_Distrubion
(
).
init
(
socket
)
new
Page_Distrubion
(
socket
).
start
(
)
}
}
\ No newline at end of file
debomatic-webui/public/javascripts/page_distribution.js
View file @
6ee9a051
function
Page_Distrubion
()
function
Page_Distrubion
(
socket
)
{
{
var
socket
var
socket
=
socket
var
events
=
config
.
events
.
client
var
events
=
config
.
events
.
client
var
data
=
Utils
.
from_hash_to_data
()
var
data
=
Utils
.
from_hash_to_data
()
...
@@ -266,9 +266,7 @@ function Page_Distrubion()
...
@@ -266,9 +266,7 @@ function Page_Distrubion()
update
.
view
()
update
.
view
()
}
}
this
.
init
=
function
(
mysocket
)
{
this
.
start
=
function
(
mysocket
)
{
socket
=
mysocket
socket
.
on
(
events
.
distribution_packages
.
set
,
function
(
socket_data
){
socket
.
on
(
events
.
distribution_packages
.
set
,
function
(
socket_data
){
packages
.
set
(
socket_data
)
packages
.
set
(
socket_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