From 5ef47212d7a7d5d8fa2b02674c1f1263b07826d0 Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期四, 07 十一月 2024 17:45:41 +0800 Subject: [PATCH] 修改工况bug,新增产品节点时存在 --- web/public/SVGOrigin/Method-Draw-master/test/units_test.html | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/web/public/SVGOrigin/Method-Draw-master/test/units_test.html b/web/public/SVGOrigin/Method-Draw-master/test/units_test.html index 625ec55..046c658 100644 --- a/web/public/SVGOrigin/Method-Draw-master/test/units_test.html +++ b/web/public/SVGOrigin/Method-Draw-master/test/units_test.html @@ -4,7 +4,7 @@ <link rel='stylesheet' href='qunit/qunit.css' type='text/css'/> <script type='text/javascript' src='../editor/lib/jquery.js'></script> <script type='text/javascript' src='../editor/src/units.js'></script> - <script type='text/javascript' src='qunit/qunit.js'></script> + <script type='text/javascript' src='qunit/qunit.js'></script> <script type='text/javascript'> $(function() { // log function @@ -23,7 +23,7 @@ getElement:function(elementId){ return document.getElementById(elementId);} }); } - + test('Test svgedit.units package', function() { expect(2); ok(svgedit.units); @@ -34,7 +34,7 @@ expect(7); setUp(); - + ok(svgedit.units.shortFloat); equals(typeof svgedit.units.shortFloat, typeof function(){}); @@ -50,7 +50,7 @@ expect(18); setUp(); - + ok(svgedit.units.isValidUnit); equals(typeof svgedit.units.isValidUnit, typeof function(){}); @@ -76,8 +76,8 @@ }); }); </script> -</head> -<body> +</head> +<body> <h1 id='qunit-header'>Unit Tests for units.js</h1> <h2 id='qunit-banner'></h2> <h2 id='qunit-userAgent'></h2> @@ -91,5 +91,5 @@ </div> </div> -</body> +</body> </html> -- Gitblit v1.9.1