codedread
4043c6e537
Change all tab indentations to 2sp indentation. Addresses issue #37
2018-05-17 21:02:30 -07:00
Neil Fraser
f9fb7f47ae
Residual linting
...
{object} -> {Object}
Remove extra semicolons.
Use jQuery’s .empty().
Make nodelist loops O(n) rather than O(n^2).
Specify radix in parseInt to prevent guessing octal.
2018-05-17 11:57:28 -07: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
5cbd05c8bd
Some JSDoc work on history.js
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2734 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-04-03 14:21:55 +00: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
Brett Zamir
6b5a4e645e
change beforeunload to use addEventListener (only supporting IE9 now and better to allow multiple if user wishes); also CamelCase internal variable for consistency; add brackets
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2639 eee81c28-f429-11dd-99c0-75d572ba1ddd
2014-01-31 00:06:50 +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
6afcd9da2b
added missing semicolons. Suspecting several leaking global vars, I'll investigate later
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2387 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-14 13:11:01 +00:00
Bruno Heridet
edcc7edec6
added missing semicolons
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2386 eee81c28-f429-11dd-99c0-75d572ba1ddd
2013-02-14 12:57:15 +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
Alexis Deveria
01e08e2116
Fixed bugs causing tests to fail in Firefox and IE9
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1993 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-10 19:09:35 +00:00
Alexis Deveria
67384a5a71
Fixed more of issue 662
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1971 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-02 21:26:41 +00:00
Jeff Schiller
99931f7d5b
Move shortFloat() into svgedit.units. Add test file for svgedit.units.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1966 eee81c28-f429-11dd-99c0-75d572ba1ddd
2011-02-02 17:28:43 +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
304d83f0ed
Add test for ChangeElementCommand
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1869 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-13 20:17:21 +00:00
Jeff Schiller
e75b51e182
Pass history event handler down to batch command's subcommands on apply
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1868 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-13 10:01:19 +00:00
Jeff Schiller
d5ae56ea8e
Add tests for MoveElementCommand, InsertElementCommand and RemoveElementCommand
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1867 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-13 09:58:51 +00:00
Jeff Schiller
4a514ee231
Add some tests for history.js. Update History commands for getText() function
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1865 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-12 23:10:19 +00:00
Jeff Schiller
4a133d490d
Move undo/redo functionality into history.js. Started unit test file.
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1864 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-11-12 19:08:29 +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
Jeff Schiller
6218fc42b7
Revert changes of previous revision
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1830 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-28 05:50:39 +00:00
Jeff Schiller
7d81d66d9a
Move history-related classes out into its own JS file: history.js
...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1829 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-10-28 03:09:19 +00:00