Commit Graph

2213 Commits

Author SHA1 Message Date
Brett Zamir
d0d7efabc4 - Refactoring: Reduce BBQ dependency (not yet removable as used still in svgeditor) 2020-01-05 10:32:31 +08:00
Brett Zamir
56197a493c - Refactoring: Switch from $.param.querystring to URL 2020-01-05 10:02:49 +08:00
Brett Zamir
37424278d1 - BREAKING CHANGE: Remove $.pref in favor of new svgEditor.pref
(avoiding polluting jQuery). (Might be moved to own module in
  future.)
- BREAKING CHANGE: `putLocale` (a function called automatically by
  `svg-editor.js`) no longer checks `pref`. Should not impact
  average consumers.

`putLocale` now also logs lang and checks `goodLangs` even if an explicit lang param is provided
2020-01-05 08:54:16 +08:00
Brett Zamir
e356b95a03 - Fix: Background URL was not settable back to nothing; fixes #376 2020-01-04 22:32:52 +08:00
Brett Zamir
0029a932b2 - Fix: Misspelling for dropXMLInternalSubset method (also fixes
use in imagelib when defaulting to image's title)
- Fix: Redirect paths for imagelib redirect checks
2020-01-04 17:32:19 +08:00
Brett Zamir
e0ceec2a38 - Docs(imagelib): Further jsdoc work 2020-01-04 17:05:11 +08:00
Brett Zamir
d7d6b87255 - Docs(imagelib): JSDocs for extension 2020-01-04 16:45:18 +08:00
Brett Zamir
77eb85e91c - Refactoring: Remove redundant check 2020-01-04 16:43:42 +08:00
Brett Zamir
92f8a5be57 - Refactoring: Avoid redundant creation of text node for strings when passing to append 2020-01-04 16:43:03 +08:00
Brett Zamir
cc6937ce96 - Linting (ESLint): Add rules to check for file-level tags 2020-01-01 01:15:16 +08:00
Brett Zamir
63ba8f39a1 - Linting (ESLint): Latest as per ash-nazg (disable now applicable rules not fixed during earlier testing)
- npm: Update devDeps
2019-12-31 17:55:15 +08:00
Brett Zamir
7fc26e114d - Refactoring: Ensure file-global tags are at beginning of file 2019-12-31 16:33:47 +08:00
Brett Zamir
d9d4d94976 - Linting (ESLint): Apply per latest ash-nazg (jsdoc: complete sentence descriptions)
- npm: Update devDeps
2019-12-31 15:27:16 +08:00
Brett Zamir
22dda2c50b - Docs: Missing returns, param names 2019-12-31 13:45:42 +08:00
Brett Zamir
477d5fdb6c - Linting (ESLint): Update as per latest ash-nazg (bad jsdoc)
- npm: Update devDeps
2019-12-31 13:14:33 +08:00
Brett Zamir
eb4401e998 - Update: Copy of core-js and qr-manipulation
- npm: Add `underscore` to copy script
- npm: Make `copy`, `compress-images`, `start-embedded`, `build-docs-remove`
  scripts cross-platform; add `start-allow-origin` script
- npm: Update devDeps/`package-lock.json`
2019-12-27 07:32:39 +08:00
Brett Zamir
1d590400f4 - Fix (openclipart browser): Redirect on lacking browser support 2019-12-26 08:11:55 +08:00
Brett Zamir
8bd9466827 - Build: Update 2019-12-25 16:04:07 +08:00
cuixiping
a7447fbbe2 Fix: main menu style and text #371 2019-12-25 15:53:27 +08:00
cuixiping
88423c8424 Localization: Add 'SVG-Edit Home Page' to locale files 2019-12-25 15:53:26 +08:00
Brett Zamir
31a98c1408 - Linting (ESLint): Apply latest ash-nazg (with latest unicorn)
- npm: Update devDeps
2019-12-23 09:16:16 +08:00
Brett Zamir
aee1a45fd7 - npm: Update devDeps
- Build: Update dist files
2019-12-19 16:59:45 +08:00
Brett Zamir
3ac0d58af9 - Linting (ESLint): Replace innerHTML with textContent from old demo
- npm: Update devDeps (including core-js copy)
2019-12-19 08:25:23 +08:00
Brett Zamir
5b91e6879e - npm: Update devDeps; update core-js-bundle copies 2019-12-17 21:16:47 +08:00
Brett Zamir
0588036373 - npm: Update devDeps and update core-js-bundle copy 2019-12-05 09:05:48 +08:00
Brett Zamir
b4f9484011 - Build: Update build files
- npm: Update devDeps
2019-12-02 11:03:28 +08:00
Brett Zamir
da819950dd - License: Relicense ext-mathjax from Apache-2.0 to MIT per https://github.com /josegaert/ext-mathjax/issues/6
- License: Reorder license listing in `jquery.contextMenu.js` so that more permissive is noticeable first
- License: Clarify in `@license` that `ext-server_moinsave.js` is MIT OR GPL-2.0-or-later per subsequent text
- Optimization: Remove unused `jquery-ui-1.8.custom.min.js` file
2019-11-30 11:54:58 +08:00
Brett Zamir
a59170fbe1 - Linting (ESLint): Simplify regexes
- npm: Update scripts to reflect removal of `all_tests.html`;
  remove `browser-test` script
- npm: Update devDeps
2019-11-30 11:41:01 +08:00
Brett Zamir
70aa62ee7b - Linting: Ignore instrumented
- Fix instrumented path
- Add underscore map file
2019-11-23 21:54:01 +08:00
Brett Zamir
34721f2351 - Fix (Accessibility): Avoid duplicate IDs 2019-11-23 21:23:05 +08:00
Brett Zamir
e1671cc372 - Linting (ESLint): Per latest ash-nazg/eslint
- npm: Update devDeps
2019-11-23 19:17:32 +08:00
Brett Zamir
19f7962c4a - Revert prefer-named-capture-group due to apparently problematic Babel plugin 2019-11-16 10:08:38 +08:00
Brett Zamir
cd0bdd9cce - Fix: IE 11 issue; fixes #363
- npm: Update devDeps
2019-11-16 09:29:09 +08:00
Brett Zamir
a09c47283e - Linting: Add ignore folder to ignore file; ensure license versions are valid semver
- npm: Update devDeps
2019-11-13 14:16:06 +08:00
Brett Zamir
d808cc22de - Linting: Comment out unused var.
- Maintenance: Add `.editorconfig`
- npm: Update jml, core-js-bundle, devDeps
2019-11-12 22:11:46 +08:00
Brett Zamir
c54444c08b - npm: Update devDeps 2019-10-21 02:51:00 +08:00
Brett Zamir
d856dbae4a - Build: Update build per latest Babel
- npm: Add script to fix eslint errors
- npm: Update devDeps
2019-10-01 17:33:36 +08:00
Brett Zamir
404911827e - Linting (ESLint): Apply new rules ("fixme"->"todo"; prefer regex literals; defaults at end)
- Optimization: Image size
- npm: Bump devDeps (Babel/eslint/rollup-related; imageoptim, testcafe)
2019-09-20 12:40:31 +08:00
Brett Zamir
9e99e598f6 - Linting (ESLint): Fix for stricter linting checks
- npm: Update devDeps and core-js copy
2019-08-19 15:52:47 -07:00
Brett Zamir
3808f7d7c1 - Linting (ESLint): Avoid shadowing
- npm: Update devDeps
2019-08-05 21:36:51 -07:00
Moliman
0bb9728067 Use change event to be sure that file is loaded before the function
Click event can trigger the script before the user choose the file, so it will be loader on the next
Open SVG click. Change event trigger the script after the user choose the file.
2019-08-03 03:05:51 -04:00
Brett Zamir
af52265e1f Merge pull request #348 from seahindeniz/patch-1
Fixed input width
2019-07-15 07:05:50 -07:00
Brett Zamir
f1b00fbfec - npm: copy core-js-bundle map file 2019-07-15 07:05:19 -07:00
Sahin D
27707096ed Fixed input width
2.2em is too small for long numbers
2019-07-15 04:12:46 +03:00
Brett Zamir
0ef3d2c64c - npm: update devDeps 2019-07-14 07:35:16 -07:00
Brett Zamir
aa96a35f45 - Linting (ESLint): Apply per jsdoc improvements
- npm: Update devDeps (linting, Babel, axe testing)
2019-07-09 08:55:34 +08:00
Brett Zamir
f734625587 - Fix: Avoid race condition in jQuery.svgIcons.js (evident
when attempting to load from `file:` URL in Chrome)
- npm: Update devDeps
2019-07-04 15:15:58 +08:00
Brett Zamir
8a2f6ee6f2 - Linting (ESLint): Fix per latest ash-nazg update
- npm: Update ash-nazg devDep.
2019-07-03 18:36:45 +08:00
Brett Zamir
e4231aeb10 - Linting (ESLint): Lint per latest ash-nazg (e.g., named capture)
- Linting (ESLint): Add HTML files to linting and add devDeps for new ash-nazg
- npm: Update devDeps
2019-07-03 17:50:46 +08:00
Brett Zamir
21a6f4f456 - Refactoring: Avoid commonjs in Rollup
- Build: Update
- npm: Rebuild `package-lock.json` with later deps
2019-06-28 13:09:33 +08:00