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
68488a3c
Commit
68488a3c
authored
Feb 09, 2013
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clip
parent
a95af905
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1303 additions
and
3 deletions
+1303
-3
rooms/index.html
rooms/index.html
+2
-0
vendor/javascripts/ZeroClipboard.min.js
vendor/javascripts/ZeroClipboard.min.js
+657
-0
vendor/javascripts/ZeroClipboard.swf
vendor/javascripts/ZeroClipboard.swf
+631
-0
vendor/javascripts/mycard.coffee
vendor/javascripts/mycard.coffee
+13
-3
No files found.
rooms/index.html
View file @
68488a3c
...
@@ -271,6 +271,8 @@ src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
...
@@ -271,6 +271,8 @@ src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
<script
type=
"text/javascript"
src=
"/vendor/candy/plugins/inline-images/candy.js"
></script>
<script
type=
"text/javascript"
src=
"/vendor/candy/plugins/inline-images/candy.js"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/vendor/candy/plugins/inline-images/candy.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/vendor/candy/plugins/inline-images/candy.css"
/>
<script
src=
"/vendor/javascripts/ZeroClipboard.min.js"
></script>
<script
src=
"/assets/javascripts/rooms.js"
></script>
<script
src=
"/assets/javascripts/rooms.js"
></script>
</body>
</body>
</html>
</html>
vendor/javascripts/ZeroClipboard.min.js
0 → 100644
View file @
68488a3c
This diff is collapsed.
Click to expand it.
vendor/javascripts/ZeroClipboard.swf
0 → 100644
View file @
68488a3c
This diff is collapsed.
Click to expand it.
vendor/javascripts/mycard.coffee
View file @
68488a3c
...
@@ -17,12 +17,22 @@
...
@@ -17,12 +17,22 @@
result
+=
'$'
+
password
result
+=
'$'
+
password
result
result
@
mycard
.
join
=
(
ip
,
port
,
room
,
username
,
password
)
->
@
mycard
.
room_string
=
(
ip
,
port
,
room
,
username
,
password
)
->
result
=
'
mycard://
'
result
=
''
if
username
if
username
result
+=
encodeURIComponent
(
username
)
result
+=
encodeURIComponent
(
username
)
if
password
if
password
result
+=
':'
+
encodeURIComponent
(
password
)
result
+=
':'
+
encodeURIComponent
(
password
)
result
+=
'@'
result
+=
'@'
result
+=
ip
+
':'
+
port
+
'/'
+
encodeURIComponent
(
room
)
result
+=
ip
+
':'
+
port
+
'/'
+
encodeURIComponent
(
room
)
window
.
location
.
href
=
result
result
\ No newline at end of file
@
mycard
.
room_url
=
(
ip
,
port
,
room
,
username
,
password
)
->
result
=
'http://my-card.in/rooms/'
+
room_string
(
ip
,
port
,
room
,
username
,
password
)
@
mycard
.
room_url_mycard
=
(
ip
,
port
,
room
,
username
,
password
)
->
result
=
'mycard://'
+
room_string
(
ip
,
port
,
room
,
username
,
password
)
@
mycard
.
join
=
(
ip
,
port
,
room
,
username
,
password
)
->
window
.
location
.
href
=
room_url_mycard
(
ip
,
port
,
room
,
username
,
password
)
\ No newline at end of file
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