summaryrefslogtreecommitdiffstats
path: root/spec/index.html
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2013-03-24 19:19:06 +0100
committerwout <wout@impinc.co.uk>2013-03-24 19:19:06 +0100
commit67d367e0d74b3287956130da0077e42c6483dd2f (patch)
treebb2d23315e39c89b79cb8c52e7a5db54636e08ad /spec/index.html
parentff09596144c3fd6770d1dc64178a10c2432396ca (diff)
downloadsvg.js-67d367e0d74b3287956130da0077e42c6483dd2f.tar.gz
svg.js-67d367e0d74b3287956130da0077e42c6483dd2f.zip
Bumped to v0.11
- removed SVG.Wrap on SVG.Polyline, SVG.Polygon and SVG.Path - added delay on SVG.FX module - made x(), y(), cx() and cy() as getters - added SGB.get() method, to get elements by a DOM id - fixed bug in remove() method on container elements - added jasmine test suite to repo
Diffstat (limited to 'spec/index.html')
-rw-r--r--spec/index.html74
1 files changed, 74 insertions, 0 deletions
diff --git a/spec/index.html b/spec/index.html
new file mode 100644
index 0000000..0a79446
--- /dev/null
+++ b/spec/index.html
@@ -0,0 +1,74 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+ <title>Jasmine Spec Runner</title>
+
+ <link rel="shortcut icon" type="image/png" href="lib/jasmine-1.3.1/jasmine_favicon.png">
+ <link rel="stylesheet" type="text/css" href="lib/jasmine-1.3.1/jasmine.css">
+
+ <style type="text/css" media="screen">
+ #canvas {
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+ }
+ </style>
+
+</head>
+
+<body>
+</body>
+
+<script type="text/javascript" src="lib/jasmine-1.3.1/jasmine.js"></script>
+<script type="text/javascript" src="lib/jasmine-1.3.1/jasmine-html.js"></script>
+
+<!-- include source files here... -->
+<script src="../dist/svg.js" type="text/javascript" charset="utf-8"></script>
+
+<!-- include spec files here... -->
+<script type="text/javascript" src="spec/helper.js"></script>
+<script type="text/javascript" src="spec/svg.js"></script>
+<script type="text/javascript" src="spec/container.js"></script>
+<script type="text/javascript" src="spec/element.js"></script>
+<script type="text/javascript" src="spec/rect.js"></script>
+<script type="text/javascript" src="spec/ellipse.js"></script>
+<script type="text/javascript" src="spec/line.js"></script>
+<script type="text/javascript" src="spec/polyline.js"></script>
+<script type="text/javascript" src="spec/polygon.js"></script>
+<script type="text/javascript" src="spec/path.js"></script>
+<script type="text/javascript" src="spec/image.js"></script>
+<script type="text/javascript" src="spec/text.js"></script>
+<script type="text/javascript" src="spec/doc.js"></script>
+<script type="text/javascript" src="spec/gradient.js"></script>
+
+<script type="text/javascript">
+ (function() {
+ var jasmineEnv = jasmine.getEnv();
+ jasmineEnv.updateInterval = 1000;
+
+ var htmlReporter = new jasmine.HtmlReporter();
+
+ jasmineEnv.addReporter(htmlReporter);
+
+ jasmineEnv.specFilter = function(spec) {
+ return htmlReporter.specFilter(spec);
+ };
+
+ var currentWindowOnload = window.onload;
+
+ window.onload = function() {
+ if (currentWindowOnload) {
+ currentWindowOnload();
+ }
+ execJasmine();
+ };
+
+ function execJasmine() {
+ jasmineEnv.execute();
+ }
+
+ })();
+</script>
+
+</html>