- Further convert tabs -> 2 spaces in JS code comments (except in test performance
file where used for alignment though use tab escape within JS), CSS
(including comments), PHP, SVG, JSON, XUL
- Remove extra spaces in svgcanvas.js, ext-connector.js
This commit is contained in:
@@ -16,7 +16,7 @@ $(function () {
|
||||
var LAYER3 = 'Layer 3';
|
||||
var PATH_ATTR = {
|
||||
// clone will convert relative to absolute, so the test for equality fails.
|
||||
// 'd': 'm7.38867,57.38867c0,-27.62431 22.37569,-50 50,-50c27.62431,0 50,22.37569 50,50c0,27.62431 -22.37569,50 -50,50c-27.62431,0 -50,-22.37569 -50,-50z',
|
||||
// 'd': 'm7.38867,57.38867c0,-27.62431 22.37569,-50 50,-50c27.62431,0 50,22.37569 50,50c0,27.62431 -22.37569,50 -50,50c-27.62431,0 -50,-22.37569 -50,-50z',
|
||||
'd': 'M7.389,57.389C7.389,29.764 29.764,7.389 57.389,7.389C85.013,7.389 107.389,29.764 107.389,57.389C107.389,85.013 85.013,107.389 57.389,107.389C29.764,107.389 7.389,85.013 7.389,57.389z',
|
||||
'transform': 'rotate(45 57.388671875000036,57.388671874999986) ',
|
||||
'stroke-width': '5',
|
||||
@@ -74,10 +74,10 @@ $(function () {
|
||||
'element': 'path',
|
||||
'attr': PATH_ATTR
|
||||
}));
|
||||
// group.appendChild(createSVGElement({
|
||||
// 'element': 'path',
|
||||
// 'attr': {'d': 'M0,1L2,3'}
|
||||
// }));
|
||||
// group.appendChild(createSVGElement({
|
||||
// 'element': 'path',
|
||||
// 'attr': {'d': 'M0,1L2,3'}
|
||||
// }));
|
||||
group.appendChild(createSVGElement({
|
||||
'element': 'rect',
|
||||
'attr': {'x': '0', 'y': '1', 'width': '5', 'height': '10'}
|
||||
|
||||
Reference in New Issue
Block a user