- Linting (HTML): Use double-quotes for attributes, remove redundant type=text/css,
indent/lbs, consistent non-use of HTML namespace, consistent indents, consistent charset
casing
- Linting (Markdown): Add `.remarkrc`, use proper hierarchical headings, use consistent
heading format, trailing spaces
- `composer.json`: consistent property spacing
- License: Add `.txt` extension, update copyright date, and reflect type (MIT) in file name
- Credits: Add self
- npm: Add `package.json` (version 3.0.0-alpha.1 for npm release only; just reserving name)
This commit is contained in:
@@ -3,19 +3,19 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Unit Tests for svgutils.js BBox functions</title>
|
||||
<link rel='stylesheet' href='qunit/qunit.css' type='text/css'/>
|
||||
<script src='../editor/jquery.js'></script>
|
||||
<script src='../editor/svgedit.js'></script>
|
||||
<link rel="stylesheet" href="qunit/qunit.css"/>
|
||||
<script src="../editor/jquery.js"></script>
|
||||
<script src="../editor/svgedit.js"></script>
|
||||
<!-- svgutils.js depends on these three... mock out? -->
|
||||
<script src='../editor/pathseg.js'></script>
|
||||
<script src='../editor/browser.js'></script>
|
||||
<script src='../editor/math.js'></script>
|
||||
<script src='../editor/svgtransformlist.js'></script>
|
||||
<script src='../editor/jquery-svg.js'></script> <!-- has $.attr() that takes an array . Used by svgedit.utilities.getPathDFromElement -->
|
||||
<script src='../editor/path.js'></script>
|
||||
<script src='../editor/svgutils.js'></script>
|
||||
<script src='qunit/qunit.js'></script>
|
||||
<script src='qunit/qunit-assert-close.js'></script>
|
||||
<script src="../editor/pathseg.js"></script>
|
||||
<script src="../editor/browser.js"></script>
|
||||
<script src="../editor/math.js"></script>
|
||||
<script src="../editor/svgtransformlist.js"></script>
|
||||
<script src="../editor/jquery-svg.js"></script> <!-- has $.attr() that takes an array . Used by svgedit.utilities.getPathDFromElement -->
|
||||
<script src="../editor/path.js"></script>
|
||||
<script src="../editor/svgutils.js"></script>
|
||||
<script src="qunit/qunit.js"></script>
|
||||
<script src="qunit/qunit-assert-close.js"></script>
|
||||
<script>
|
||||
$(function() {
|
||||
// log function
|
||||
@@ -79,7 +79,7 @@
|
||||
});
|
||||
sandbox.appendChild(svgroot);
|
||||
|
||||
|
||||
|
||||
module('svgedit.utilities_bbox', {
|
||||
setup: function() {
|
||||
// We're reusing ID's so we need to do this for transforms.
|
||||
@@ -516,10 +516,10 @@
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<h1 id='qunit-header'>Unit Tests for svgutils.js BBox functions</h1>
|
||||
<h2 id='qunit-banner'></h2>
|
||||
<h2 id='qunit-userAgent'></h2>
|
||||
<ol id='qunit-tests'></ol>
|
||||
<div id='sandbox'></div>
|
||||
<h1 id="qunit-header">Unit Tests for svgutils.js BBox functions</h1>
|
||||
<h2 id="qunit-banner"></h2>
|
||||
<h2 id="qunit-userAgent"></h2>
|
||||
<ol id="qunit-tests"></ol>
|
||||
<div id="sandbox"></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user