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
fb9fc879
Commit
fb9fc879
authored
Jul 30, 2013
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed paths in tests_main.js and tests.html
parent
d49bb253
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
7 deletions
+40
-7
tests.html
tests.html
+3
-3
tests_main.js
tests_main.js
+37
-4
No files found.
tests.html
View file @
fb9fc879
...
@@ -4,11 +4,11 @@
...
@@ -4,11 +4,11 @@
<head>
<head>
<title>
Converse.js Tests
</title>
<title>
Converse.js Tests
</title>
<meta
name=
"description"
content=
"Converse.js: Open Source Browser-Based Instant Messaging"
/>
<meta
name=
"description"
content=
"Converse.js: Open Source Browser-Based Instant Messaging"
/>
<link
rel=
"shortcut icon"
type=
"image/png"
href=
"
Libraries/jasmine-1.3.1
/jasmine_favicon.png"
>
<link
rel=
"shortcut icon"
type=
"image/png"
href=
"
components/jasmine/images
/jasmine_favicon.png"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
Libraries/jasmine-1.3.1
/jasmine.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
components/jasmine/src/html
/jasmine.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
media=
"screen"
href=
"stylesheets/stylesheet.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
media=
"screen"
href=
"stylesheets/stylesheet.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
media=
"screen"
href=
"converse.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
media=
"screen"
href=
"converse.css"
>
<script
data-main=
"tests_main"
src=
"
Libraries/require-jquery
.js"
></script>
<script
data-main=
"tests_main"
src=
"
components/requirejs/require
.js"
></script>
</head>
</head>
<body>
<body>
...
...
tests_main.js
View file @
fb9fc879
require
.
config
({
require
.
config
({
paths
:
{
paths
:
{
"
jasmine
"
:
"
Libraries/jasmine-1.3.1/jasmine
"
,
"
jquery
"
:
"
components/jquery/jquery
"
,
"
jasmine-html
"
:
"
Libraries/jasmine-1.3.1/jasmine-html
"
,
"
locales
"
:
"
locale/locales
"
,
"
sjcl
"
:
"
components/sjcl/sjcl
"
,
"
tinysort
"
:
"
components/tinysort/src/jquery.tinysort
"
,
"
underscore
"
:
"
components/underscore/underscore
"
,
"
backbone
"
:
"
components/backbone/backbone
"
,
"
localstorage
"
:
"
components/backbone.localStorage/backbone.localStorage
"
,
"
strophe
"
:
"
components/strophe/strophe
"
,
"
strophe.muc
"
:
"
components/strophe.muc/index
"
,
"
strophe.roster
"
:
"
components/strophe.roster/index
"
,
"
strophe.vcard
"
:
"
components/strophe.vcard/index
"
,
"
strophe.disco
"
:
"
components/strophe.disco/index
"
,
// Extra test dependencies
"
jasmine
"
:
"
components/jasmine/lib/jasmine-core/jasmine
"
,
"
jasmine-html
"
:
"
components/jasmine/lib/jasmine-core/jasmine-html
"
,
"
jasmine-console-reporter
"
:
"
node_modules/jasmine-reporters/src/jasmine.console_reporter
"
,
"
jasmine-console-reporter
"
:
"
node_modules/jasmine-reporters/src/jasmine.console_reporter
"
,
"
jasmine-junit-reporter
"
:
"
node_modules/jasmine-reporters/src/jasmine.junit_reporter
"
"
jasmine-junit-reporter
"
:
"
node_modules/jasmine-reporters/src/jasmine.junit_reporter
"
},
},
// define module dependencies for modules not using define
// define module dependencies for modules not using define
shim
:
{
shim
:
{
'
backbone
'
:
{
//These script dependencies should be loaded before loading
//backbone.js
deps
:
[
'
underscore
'
,
'
jquery
'
],
//Once loaded, use the global 'Backbone' as the
//module value.
exports
:
'
Backbone
'
},
'
tinysort
'
:
{
deps
:
[
'
jquery
'
]
},
'
strophe
'
:
{
deps
:
[
'
jquery
'
]
},
'
underscore
'
:
{
exports
:
'
_
'
},
'
strophe.muc
'
:
{
deps
:
[
'
strophe
'
,
'
jquery
'
]
},
'
strophe.roster
'
:
{
deps
:
[
'
strophe
'
]
},
'
strophe.vcard
'
:
{
deps
:
[
'
strophe
'
]
},
'
strophe.disco
'
:
{
deps
:
[
'
strophe
'
]
},
// Extra test dependencies
'
jasmine-html
'
:
{
'
jasmine-html
'
:
{
deps
:
[
'
jasmine
'
],
deps
:
[
'
jasmine
'
],
exports
:
'
jasmine
'
exports
:
'
jasmine
'
...
@@ -22,7 +56,6 @@ require.config({
...
@@ -22,7 +56,6 @@ require.config({
}
}
});
});
require
([
require
([
"
jquery
"
,
"
jquery
"
,
"
converse
"
,
"
converse
"
,
...
@@ -59,7 +92,7 @@ require([
...
@@ -59,7 +92,7 @@ require([
jasmineEnv
.
specFilter
=
function
(
spec
)
{
jasmineEnv
.
specFilter
=
function
(
spec
)
{
return
htmlReporter
.
specFilter
(
spec
);
return
htmlReporter
.
specFilter
(
spec
);
};
};
jasmineEnv
.
updateInterval
=
25
0
;
jasmineEnv
.
updateInterval
=
0
;
}
}
jasmineEnv
.
execute
();
jasmineEnv
.
execute
();
});
});
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