Brett Zamir
52353c6321
- 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
2018-05-18 14:41:43 +08:00
codedread
4043c6e537
Change all tab indentations to 2sp indentation. Addresses issue #37
2018-05-17 21:02:30 -07:00
Brett Zamir
a3b3525789
- Linting (ESLint): Finish
...
- Fix: Globals (x, y) in `mouseMove`
- Fix: Global (element, d_attr->dAttr) in `mouseDown`
- Fix: Avoid `drawnPath` not defined error
- Docs: sp.
2018-05-17 11:34:21 +08:00
Brett Zamir
340915be4e
- Linting (ESLint): Finish extensions and most files in editor/; unfinished: `editor/svg-editor.js`, `editor/svgcanvas.js`
...
- Linting (ESLint): Fix ignore file paths
- History `elem` fix
2018-05-16 12:08:41 +08:00
Brett Zamir
75bd787023
JSLint
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2644 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-01-31 02:13:37 +00:00
Bruno Heridet
f9b8aa624c
created svgedit main object, moved all namespaces handling in the same place
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2411 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-16 15:02:26 +00:00
Bruno Heridet
e906a0f6fd
cleaned quote inconsistencies
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2397 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-15 17:02:24 +00:00
Bruno Heridet
3d61d46f6b
cleaned inconsistencies with comma spacing
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2396 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-15 16:51:48 +00:00
Bruno Heridet
a9ab2f2c7e
removed unused var and uneeded else
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2384 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-14 12:34:11 +00:00
Marc Laporte
cf0dde3f4a
Updating license information as per http://code.google.com/p/svg-edit/issues/detail?id=959
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2088 eee81c28-f429-11dd-99c0-75d572ba1ddd
2012-09-16 18:53:27 +00:00
Jeff Schiller
6b8958bd39
Turn on Closure compilers SIMPLE_OPTIMIZATIONS. Slightly change how svgedit namespace is set up in each module
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1931 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-18 06:46:45 +00:00
Jeff Schiller
28b9c0cfd7
Rename browsersupport module to browser
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1910 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-13 07:47:21 +00:00
Jeff Schiller
282f81f27a
Rewrite browsersupport JS module to only expose functions. Added detection for Selectors and XPath support. Updated svgcanvas.js to create its getElem() function based on browsersupport.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1909 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-01-13 07:38:27 +00:00
Jeff Schiller
f03a503d9a
Add more tests for svgtransformlist.js. Move from browser-sniffing to feature detection for SVGTransformList.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1858 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-08 18:03:33 +00:00
Jeff Schiller
1039b68c0a
More tests for SVGTransformList
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1857 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-08 16:26:58 +00:00
Jeff Schiller
3aabcb428b
Add unit tests for svgtransformlist.js and all_tests page
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1853 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-08 07:23:26 +00:00
Jeff Schiller
a681fc2579
Add a sanitize.js module and put sanitizeSvg into it. Fix some browsersupport sniffing calls.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1852 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-07 20:14:05 +00:00
Jeff Schiller
071a562c41
Start on a units JS package. Rename BrowserSupport and Utilities packages to lower-case
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1844 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-05 17:00:32 +00:00
Jeff Schiller
5e140062b8
Hide svgTransformLists from svgcanvas. Fix test HTML file.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1838 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-05 14:59:59 +00:00
Jeff Schiller
16ea2a36a5
Move getTransformList() into svgtransformlist.js, move getHref adn setHref into svgutils.js
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1837 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-05 14:43:12 +00:00
Jeff Schiller
f97395ced4
Move SVGTransformList out into its own separate JS file
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1831 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-28 06:08:45 +00:00