Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Moecube Store
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Moecube Store
Commits
c0ea1aa8
Commit
c0ea1aa8
authored
Jan 23, 2013
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
candy
parent
78eb4172
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
22 deletions
+26
-22
assets/javascripts/rooms.coffee
assets/javascripts/rooms.coffee
+11
-10
assets/javascripts/rooms.js
assets/javascripts/rooms.js
+14
-11
rooms/index.html
rooms/index.html
+1
-1
No files found.
assets/javascripts/rooms.coffee
View file @
c0ea1aa8
...
@@ -31,16 +31,17 @@ class Rooms extends Spine.Controller
...
@@ -31,16 +31,17 @@ class Rooms extends Spine.Controller
$
(
document
).
ready
->
$
(
document
).
ready
->
Candy
.
init
(
'/http-bind/'
,
if
true
#for debug
core
:
Candy
.
init
(
'/http-bind/'
,
debug
:
false
,
core
:
autojoin
:
[
'mycard@conference.my-card.in'
],
debug
:
false
,
view
:
autojoin
:
[
'mycard@conference.my-card.in'
],
resources
:
'/vendor/stylesheets/candy/'
,
view
:
language
:
'cn'
resources
:
'/vendor/stylesheets/candy/'
,
)
language
:
'cn'
if
window
.
location
.
href
.
indexOf
(
"candy"
)
!=
-
1
)
Candy
.
Core
.
connect
(
'zh99998测试80@my-card.in'
,
'zh112998'
)
Candy
.
Core
.
connect
(
'zh99998测试80@my-card.in'
,
'zh112998'
)
if
window
.
location
.
href
.
indexOf
(
"candy"
)
!=
-
1
$
(
'#candy'
).
show
()
#$('#username').val '@my-card.in'
#$('#username').val '@my-card.in'
#$('#username').focus()
#$('#username').focus()
...
...
assets/javascripts/rooms.js
View file @
c0ea1aa8
...
@@ -79,18 +79,21 @@
...
@@ -79,18 +79,21 @@
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
var
new_room
,
rooms
;
var
new_room
,
rooms
;
Candy
.
init
(
'
/http-bind/
'
,
{
if
(
true
)
{
core
:
{
Candy
.
init
(
'
/http-bind/
'
,
{
debug
:
false
,
core
:
{
autojoin
:
[
'
mycard@conference.my-card.in
'
]
debug
:
false
,
},
autojoin
:
[
'
mycard@conference.my-card.in
'
]
view
:
{
},
resources
:
'
/vendor/stylesheets/candy/
'
,
view
:
{
language
:
'
cn
'
resources
:
'
/vendor/stylesheets/candy/
'
,
language
:
'
cn
'
}
});
if
(
window
.
location
.
href
.
indexOf
(
"
candy
"
)
!==
-
1
)
{
Candy
.
Core
.
connect
(
'
zh99998测试80@my-card.in
'
,
'
zh112998
'
);
}
}
});
$
(
'
#candy
'
).
show
();
if
(
window
.
location
.
href
.
indexOf
(
"
candy
"
)
!==
-
1
)
{
Candy
.
Core
.
connect
(
'
zh99998测试80@my-card.in
'
,
'
zh112998
'
);
}
}
$
(
'
#new_room_dialog
'
).
dialog
({
$
(
'
#new_room_dialog
'
).
dialog
({
autoOpen
:
false
,
autoOpen
:
false
,
...
...
rooms/index.html
View file @
c0ea1aa8
...
@@ -134,7 +134,7 @@
...
@@ -134,7 +134,7 @@
</div>
</div>
<div
style=
"clear:left;"
></div>
<div
style=
"clear:left;"
></div>
</div>
</div>
<div
id=
"candy"
style=
"top:auto;height:260px;"
></div>
<div
id=
"candy"
style=
"top:auto;height:260px;
display:none
"
></div>
<div
id=
"new_room_dialog"
style=
"display: none"
>
<div
id=
"new_room_dialog"
style=
"display: none"
>
<form
id=
"new_room"
>
<form
id=
"new_room"
>
...
...
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