[Pkg-javascript-commits] [leaflet] 147/301: Make Mocha ignore leaks properly and do some space -> tab replacement

Jonas Smedegaard js at moszumanska.debian.org
Mon Jan 27 22:22:47 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository leaflet.

commit 4f6df67a85f1685dc7aabe711947c1ff97e03eed
Author: Jan Pieter Waagmeester <jieter at jieter.nl>
Date:   Wed Oct 23 15:15:54 2013 +0200

    Make Mocha ignore leaks properly and do some space -> tab replacement
---
 spec/index.html | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/spec/index.html b/spec/index.html
index 6a37793..17383ff 100644
--- a/spec/index.html
+++ b/spec/index.html
@@ -1,14 +1,14 @@
 <!DOCTYPE html>
 <html>
 <head>
-    <meta charset="utf-8">
+	<meta charset="utf-8">
 	<title>Spec Runner</title>
 	<link rel="stylesheet" type="text/css" href="../node_modules/mocha/mocha.css">
 </head>
 <body>
-    <div id="mocha"></div>
-    <script src="expect.js"></script>
-   	<script type="text/javascript" src="../node_modules/mocha/mocha.js"></script>
+	<div id="mocha"></div>
+	<script src="expect.js"></script>
+	<script type="text/javascript" src="../node_modules/mocha/mocha.js"></script>
 	<script type="text/javascript" src="../node_modules/happen/happen.js"></script>
 	<script type="text/javascript" src="sinon.js"></script>
 
@@ -18,10 +18,12 @@
 
 	<script type="text/javascript" src="../debug/leaflet-include.js"></script>
 
-    <script>
-        mocha.setup('bdd');
-        mocha.ignoreLeaks();
-    </script>
+	<script>
+		mocha.setup({
+			ui: 'bdd',
+			ignoreLeaks: true
+		});
+	</script>
 
 	<!-- spec files -->
 
@@ -77,8 +79,8 @@
 	<!-- /map/handler -->
 	<script type="text/javascript" src="suites/map/handler/Map.DragSpec.js"></script>
 
-    <script>
-        (window.mochaPhantomJS || window.mocha).run();
-    </script>
+	<script>
+		(window.mochaPhantomJS || window.mocha).run();
+	</script>
 </body>
 </html>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet.git



More information about the Pkg-javascript-commits mailing list