Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
0b3199d8
Commit
0b3199d8
authored
Nov 07, 2013
by
David Baumgold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unused jasmine resources
parent
e4ff0d2f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
132 deletions
+0
-132
common/templates/jasmine/base.html
+0
-74
common/templates/jasmine/jasmine_test_runner.html.erb
+0
-58
No files found.
common/templates/jasmine/base.html
deleted
100644 → 0
View file @
e4ff0d2f
<!doctype html>
<html>
<head>
<title>
Jasmine Spec Runner
</title>
{% load staticfiles %}
<link
rel=
"stylesheet"
href=
"{% static 'jasmine-latest/jasmine.css' %}"
media=
"screen"
>
{# core files #}
<script
src=
"{% static 'jasmine-latest/jasmine.js' %}"
></script>
<script
src=
"{% static 'jasmine-latest/jasmine-html.js' %}"
></script>
<script
src=
"{% static 'js/vendor/jasmine-jquery.js' %}"
></script>
<script
src=
"{% static 'console-runner.js' %}"
></script>
<script
src=
"{% static 'jasmine.junit_reporter.js' %}"
></script>
{% load compressed %}
{# static files #}
{% for url in suite.static_files %}
<script
src=
"{{ STATIC_URL }}{{ url }}"
></script>
{% endfor %}
{% compressed_js 'js-test-source' %}
{# source files #}
{% for url in suite.js_files %}
<script
src=
"{{ url }}"
></script>
{% endfor %}
{# spec files #}
{% compressed_js 'spec' %}
</head>
<body>
<h1>
Jasmine Spec Runner
</h1>
<script>
{
%
block
jasmine
%
}
(
function
()
{
var
jasmineEnv
=
jasmine
.
getEnv
();
jasmineEnv
.
updateInterval
=
1000
;
var
trivialReporter
=
new
jasmine
.
TrivialReporter
()
jasmineEnv
.
addReporter
(
trivialReporter
);
jasmineEnv
.
addReporter
(
new
jasmine
.
ConsoleReporter
());
jasmineEnv
.
addReporter
(
new
jasmine
.
JUnitXmlReporter
(
'{{ JASMINE_REPORT_DIR }}/'
));
jasmineEnv
.
specFilter
=
function
(
spec
)
{
return
trivialReporter
.
specFilter
(
spec
);
};
// Additional configuration can be done in this block
{
%
block
jasmine_extra
%
}{
%
endblock
%
}
var
currentWindowOnload
=
window
.
onload
;
window
.
onload
=
function
()
{
if
(
currentWindowOnload
)
{
currentWindowOnload
();
}
execJasmine
();
};
function
execJasmine
()
{
jasmineEnv
.
execute
();
}
})();
{
%
endblock
%
}
</script>
</body>
</html>
common/templates/jasmine/jasmine_test_runner.html.erb
deleted
100644 → 0
View file @
e4ff0d2f
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>
Jasmine Test Runner
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
<%=
phantom_jasmine_path
%>
/vendor/jasmine-1.2.0/jasmine.css"
>
<script
type=
"text/javascript"
src=
"
<%=
phantom_jasmine_path
%>
/vendor/jasmine-1.2.0/jasmine.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
phantom_jasmine_path
%>
/vendor/jasmine-1.2.0/jasmine-html.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
phantom_jasmine_path
%>
/lib/console-runner.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
jasmine_reporters_path
%>
/src/jasmine.junit_reporter.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
common_coffee_root
%>
/ajax_prefix.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
common_coffee_root
%>
/logger.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
common_js_root
%>
/vendor/jasmine-jquery.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
common_js_root
%>
/vendor/RequireJS.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
common_js_root
%>
/vendor/jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
common_js_root
%>
/vendor/jquery-ui.min.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
common_js_root
%>
/vendor/jquery.ui.draggable.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
common_js_root
%>
/vendor/jquery.cookie.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
common_js_root
%>
/vendor/json2.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
common_js_root
%>
/vendor/underscore-min.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
common_js_root
%>
/vendor/backbone-min.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
common_js_root
%>
/vendor/jquery.leanModal.min.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
common_js_root
%>
/vendor/CodeMirror/codemirror.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
common_js_root
%>
/vendor/tiny_mce/jquery.tinymce.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
common_js_root
%>
/vendor/tiny_mce/tiny_mce.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
common_js_root
%>
/vendor/mathjax-MathJax-c9db6ac/MathJax.js?config=default"
></script>
<script
type=
"text/javascript"
src=
"
<%=
common_js_root
%>
/vendor/jquery.timeago.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
common_js_root
%>
/vendor/sinon-1.7.1.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
common_js_root
%>
/vendor/analytics.js"
></script>
<script
type=
"text/javascript"
>
AjaxPrefix
.
addAjaxPrefix
(
jQuery
,
function
()
{
return
""
;
});
</script>
<!-- SOURCE FILES -->
<%
for
src
in
js_source
%>
<script
type=
"text/javascript"
src=
"
<%=
src
%>
"
></script>
<%
end
%>
<!-- SPEC FILES -->
<%
for
src
in
js_specs
%>
<script
type=
"text/javascript"
src=
"
<%=
src
%>
"
></script>
<%
end
%>
</head>
<body>
<script
type=
"text/javascript"
>
jasmine
.
getEnv
().
addReporter
(
new
jasmine
.
TrivialReporter
());
jasmine
.
getEnv
().
addReporter
(
new
jasmine
.
ConsoleReporter
());
jasmine
.
getEnv
().
addReporter
(
new
jasmine
.
JUnitXmlReporter
(
'
<%=
report_dir
%>
/'
));
jasmine
.
getEnv
().
execute
();
</script>
</body>
</html>
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