Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
fffc0213
Commit
fffc0213
authored
May 19, 2014
by
Derek Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix format
parent
f0bb123e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
13 deletions
+15
-13
spec/chatbox.js
spec/chatbox.js
+15
-13
No files found.
spec/chatbox.js
View file @
fffc0213
...
...
@@ -590,13 +590,15 @@
utils
.
openChatBoxFor
(
contact_jid
);
var
view
=
this
.
chatboxviews
.
get
(
contact_jid
);
var
messages
=
[
'
:)
'
,
'
;)
'
,
'
:D
'
,
'
:P
'
,
'
8)
'
,
'
>:)
'
,
'
:S
'
,
'
:
\\
'
,
'
>:(
'
,
'
:(
'
,
'
:O
'
,
'
(^.^)b
'
,
'
<3
'
];
var
emoticons
=
[
'
<span class="emoticon icon-smiley"></span>
'
,
'
<span class="emoticon icon-wink"></span>
'
,
var
emoticons
=
[
'
<span class="emoticon icon-smiley"></span>
'
,
'
<span class="emoticon icon-wink"></span>
'
,
'
<span class="emoticon icon-grin"></span>
'
,
'
<span class="emoticon icon-tongue"></span>
'
,
'
<span class="emoticon icon-cool"></span>
'
,
'
<span class="emoticon icon-evil"></span>
'
,
'
<span class="emoticon icon-confused"></span>
'
,
'
<span class="emoticon icon-wondering"></span>
'
,
'
<span class="emoticon icon-angry"></span>
'
,
'
<span class="emoticon icon-sad"></span>
'
,
'
<span class="emoticon icon-shocked"></span>
'
,
'
<span class="emoticon icon-thumbs-up"></span>
'
,
'
<span class="emoticon icon-heart"></span>
'
];
'
<span class="emoticon icon-heart"></span>
'
];
spyOn
(
view
,
'
sendMessage
'
).
andCallThrough
();
for
(
var
i
=
0
;
i
<
messages
.
length
;
i
++
)
{
var
message
=
messages
[
i
];
...
...
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