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
35a542da
Commit
35a542da
authored
Dec 31, 2014
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix. Translate method called before it was defined.
parent
640a344e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
converse.js
converse.js
+6
-7
No files found.
converse.js
View file @
35a542da
...
...
@@ -164,9 +164,7 @@
// Logging
Strophe
.
log
=
function
(
level
,
msg
)
{
console
.
log
(
level
+
'
'
+
msg
);
};
Strophe
.
error
=
function
(
msg
)
{
console
.
log
(
'
ERROR:
'
+
msg
);
};
Strophe
.
error
=
function
(
msg
)
{
console
.
log
(
'
ERROR:
'
+
msg
);
};
// Add Strophe Namespaces
Strophe
.
addNamespace
(
'
REGISTER
'
,
'
jabber:iq:register
'
);
...
...
@@ -216,6 +214,11 @@
var
OPENED
=
'
opened
'
;
var
CLOSED
=
'
closed
'
;
// Translation machinery
// ---------------------
var
__
=
$
.
proxy
(
utils
.
__
,
this
);
var
___
=
utils
.
___
;
// Default configuration values
// ----------------------------
var
default_settings
=
{
...
...
@@ -286,10 +289,6 @@
// Only use OTR by default if allow OTR is enabled to begin with
this
.
use_otr_by_default
=
this
.
use_otr_by_default
&&
this
.
allow_otr
;
// Translation machinery
// ---------------------
var
__
=
$
.
proxy
(
utils
.
__
,
this
);
var
___
=
utils
.
___
;
// Translation aware constants
// ---------------------------
var
OTR_CLASS_MAPPING
=
{};
...
...
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