- 8c3d59a update dependency (@flobacher)
- 330b01b fix update version script (@flobacher)
- 6a9cda1 document scripts (@flobacher)
- 324d99d update scripts (@flobacher)
- 73e5a69 2.1.4 (@flobacher)
- #29 fix onDoneCallback for empty array (@pga78)
- d1de008 mind if onDoneCallback defined (@pga78)
- 9345475 fix onDoneCallback for empty array (@pga78)
- a1c5b79 replace
yarn.lock
bypackage-lock.json
- 01e4044 2.1.2
- 6de7b44 make the
update-version-comment
script work on windows as well - bd18b74 update examples to test new
title
,desc
,aria-labelledby
andaria-hidden
implementation - 6eab4d9 update logic for title and desc creation/adaption
- fc49c49 add angular example
- 4f71cc4 add
h1
to titles to identify them easier - aafb1fe npm 5 support. hurray =)
- c934bd3 chore: update for usage with node 8
- ba82a4c 2.1.1
- 013bb9d codestyle
- 6221b19 add width and height also on single elements (not spritesheet-fragments) that only specify a viewbox
- 54fa00d 2.1.0
- de4a372 add the option to provide fallback svgs for fragment ids, that might not be found in the spritesheet
- 9b0617f 2.0.35 (@flobacher)
- 7897ca7 update example (@flobacher)
- 6e7f25f angular-directive: allow sprite-id class to be not the first in the classList (@flobacher)
- 9c09103 fix package-script (@flobacher)
- 80f8b04 2.0.34 (@flobacher)
- 699af49 codestyle (@flobacher)
- dedbd9b start adding support for interpolated data-src (@flobacher)
- b1a17fc add example for interpolation support of classnames (@flobacher)
- 1de9aa8 adapt example (@flobacher)
- 215638d only execute angular-directive code if src, data-src or sprite-class are present (@flobacher)
- 7eab253 codestyle (@flobacher)
- a0459c8 getter for config (@flobacher)
- 3c4ba0e exit, when neither src, data-src, nor sprite sheet url are specified (@flobacher)
- 3aef12b add inline svgs to examples (@flobacher)
- ba2226f remove console.logs in minified version (@flobacher)
- #16 Check for imgUrl (@TheCopartnery)
- a188971 spelling correction (@Viveur)
- 3e72195 Check for imgUrl - inline svg’s will not have an imgUrl (src/data-src) causing imgUrl.split to error (@Viveur)
- 73c3432 2.0.33 (@flobacher)
- 85086e0 do not change src (@flobacher)
- 147b953 add options (@flobacher)
- 2658876 add options (@flobacher)
- #14 Update README.md (@TheCopartnery)
- #13 Add simple with img tag example (@TheCopartnery)
- 35a3f6a update README.md (@flobacher)
- 00838d8 Update README.md (@Viveur)
- caedbeb Add simple with img tag example (@Viveur)
- 69ecf67 update/streamline examples and read (@flobacher)
- d534db0 2.0.32 (@flobacher)
- 794d4f5 add a basic, non-spritesheet example (@flobacher)
- 50eaafb always set data-src even if only src was specified (@flobacher)
- 0c64792 v2.0.31 (@flobacher)
- f19994c fix main entry in bower.json (@flobacher)
- dd3f7d0 add copy of file to stay compatible with file structure of version < v2.0.28 (@flobacher)
- eb84ea3 make sure script works on all platforms (@flobacher)
- fd897d7 codestyle: streamline folder-pathes (@flobacher)
- 5803a9a add copy command to stay compatible with file structure of version < v2.0.28 (@flobacher)
- #10 Update README links (@TheCopartnery)
- febe4b2 update links (@Viveur)
- 759c681 2.0.30 (@flobacher)
- 41f49c8 fix main entry in package.json (@flobacher)
- 60b98b1 fix package script (@flobacher)
- 95bfd75 2.0.29 (@flobacher)
- c5e6c81 fix package scripts (@flobacher)
- b1ccb91 update examples (@flobacher)
- 58f4acd do not remove console.logs (@flobacher)
- 1aac685 fix fallbacks (@flobacher)
- #7 Update broken examples/spritesheet link (@TheCopartnery)
- 7a39a24 Update broken examples/spritesheet link (@Viveur)
- 3cd8015 update README
- e6c040f update examples
- cadac66 fix package-scripts
- 5da3c45 reorganise folder-structure, update examples and copy all attributes of the injection-target node to the injected sag (@flobacher)
- 2cb030f 2.0.27 (@flobacher)
- aadf829 correct those id-refs in sample sprite sheet.. this needs fixing in injector though (@flobacher)
- 24e397d do not add role=presentation to title and desc (@flobacher)
- bd6213b update/move examples (@flobacher)
- bc9aab5 update scripts (@flobacher)
- d01d011 suffix id-references in style-tags and refactor (@flobacher)
- #3 added support for aria-hidden attribute on svg element (@dgoerdes)
- f8cf0fe added support for aria-hidden attribute on svg element (@dgoerdes)
- dec40de 2.0.24
- 7ae93d3 add shortcut script
- 5b5b00a make npm scripts work on windows as well
- a721de4 make npm scripts work on windows as well
- 9480d16 codestyle
- d945474 make npm scripts work on windows as well
- 216993c 2.0.23
- e425f4e avoid latedef warnings
- ff5578d ${npm_package_version}
- ec44146 IE does not support Children on SVGElement!
- 66f4ede use .trim() only if element has a class attribute (@hochitom)
- 52f5fe4 2.0.18 (@flobacher)
- c39a16f 2.0.17 (@flobacher)
- 41f86cc update scripts (@flobacher)
- 49cceae update repo url and scripts (@flobacher)
- fc29aea 2.0.15 (@flobacher)
- 9d91dc3 update gitignore (@flobacher)
- 359a256 add support for the desc element and add the role="presentation" to all elements
- ef029f2 add support to set title for accessibility
- 7c25536 2.0.14 (@flobacher)
- 571dec2 add support for IE
- f189ab4 elements can also be referenced via xlink:href. this time it works
- eccb575 fix: previous version added suffix multiple times (@flobacher)
- ffc0ad2 elements can also be referenced via xlink:href.. need to suffix them as well (@flobacher)
- e9ef3ed cleanup logs (@flobacher)
- 507212f ignore tests and examples when installed via nom (@flobacher)
- 990d68d rearange npm scripts for better readability (@flobacher)
- 303c20c update dependency (@flobacher)
- a5bc1b3 remove deprecated version from bower (@flobacher)
- e44352e build scripts updated (@flobacher)
- 5164dea 2.0.13 (@flobacher)
- 8612dea build scripts updated (@flobacher)
- 8281b74 additional iri references are matched (@flobacher)
- a5ee0c8 2.0.12 (@flobacher)
- #1 fixed bug to work with multiple spritemaps (@hochitom)
- #1 fixed bug to work with multiple spritemaps (@hochitom)
- d2eb782 fixed bug to work with multiple spritemaps (@hochitom)
- e562641 Updated CHANGELOG (@flobacher)
- 3e86de1 2.0.11 (@flobacher)
- 29f99e2 bugfix angular directive (@flobacher)
- a0c06d9 Updated CHANGELOG (@flobacher)
- 05f6d56 2.0.10 (@flobacher)
- d29eb5b wrap angular directive into $observe so injection will trigger even if classname is result of an expression evaluation (@flobacher)
- 768c624 remove unused variable (@flobacher)
- 72e5a02 abort injection if no sprite-- class and no data-src found (@flobacher)
- 2255226 2.0.9 (@flobacher)
- 64b1a8d prefix style-blocks if injected svg is not a spritesheet (@flobacher)
- 2dfc3e6 start prefixing of style-blocks if injected svg is not a spritesheet (@flobacher)
- 37aca0a 2.0.8
- c8bd742 remove console-logs
- c08fe76 improve support for combining single svgs with a spritesheet
- 4203538 fix indentations
- 990f631 fix indentations
- 35d29ae Updated CHANGELOG
- dc90149 Updated CHANGELOG (@flobacher)
- 2067b0c bug fix: find symbol by view box returned more than one symbol (@flobacher)
- 861ed83 change name
- d660786 replace angular.value by provider
- 1d1a757 simplify build-setup
- f1aa85b refactor angular support (@flobacher)
- 3d91982 add angular suport 2 (@flobacher)
- 543fc97 add angular suport (@flobacher)
- 4be677c cleanup the oop approach (@flobacher)
- 06e6dfd refactor to use an oop approach
- 70b802e change the default classnames that should be removed upon injection, disable debug.logs
- 99ed486 1.2.2
- b9c3944 version bump
- 0b67cff cleanup logs (@flobacher)
- 2b31cb7 unify id-prefixing (@flobacher)
- 15e1754 prefix all attributes that reference an id from defs
- d68f27f version bump (@flobacher)
- 7c23f6e optional prefix for fragIdClass assigned upon injection (@flobacher)
- 6f4863a add possibility to add a common spritesheetURL for all svg instances
- b6693a4 Copy preserveAspectRatio of elem if exists
- 9198950 add option to keep inline-styles for some elems (specify via class) even if remove all style-tags = true (@flobacher)
- d7893d4 add option to remove all style-tags upon injection (@flobacher)
- 1a3a7b0 edit fallback classnames list (@flobacher)
- 5e277e4 do not write default removeStyleClass if it is specified in the options
- e38b86d prefix styletags upon injection (@flobacher)
- d317caa add default icon class -> if inect-target has this class, all styles within the svg-symbol will be removed and a default icon class will be applied
- 9e7b071 update minified version
- d9c017c fix remove style tag from parent, which can be a as well as the svg-root element
- eb0d92e output correct logs
- d1c81ce do not remove classnames if not there (@flobacher)
- 55c6657 remove fallback classes on injection
- 59c2c17 remove no-svg class from html element is svg is supported
- 34cb3ba optimise classname creation
- fe09f74 bugfix fallback classname creation
- 3978592 bugfix fallback classname creation
- 2229e36 provide array with fallback classnames that contain a replacement-char
- 1131a95 png-fallbacks
- 5efa1de png fallbacks work
- 01e5a0c cleanup, add drop_console to uglify options -> remove calls to console.log in dist, but leave in debug version
- a6f31d2 add dist files (@flobacher)
- 588bac2 add editor-config (@flobacher)
- 1ce9a4a style tags will be removed if special class is found on injection-target, name of this class is configurable via options (@flobacher)
- e80cbdd queryselector is used to speed up finding of the svg shape inside the referenced view's viewbox (@flobacher)
- fecb5a7 update fragment-id example (@flobacher)
- b37313e if view displays a use tag, the referenced symbol is injected (@flobacher)
- 2f35d0e extend fragment-id example by a spritesheet generated with grunt-svg-sprite (@flobacher)
- fd16ef5 enable default fallback for sprites referenced via fragment-id (@flobacher)
- 5966d86 add option, to only insert visible part specified via fragment-id of a view-elem (@flobacher)
- 925c812 changed indentation (@flobacher)
- 541df26 update version number for bower (@flobacher)
- d728414 add example for symbol and view referencing via fragment-ids
- a9840d8 add support for fragment-ids specifying views or symbols
- e84f9b4 version bump for RC 1.1.3 testing (@protodave)
- fae3a70 Workaround/Fix for IE not using style tags from injected SVG files. Ref: issue #23 - Internet Explorer 11 svg images appears all black (@protodave)
- 2b209bb Added npm install details (@protodave)
- 9f25052 Updated author info in prep for npm publishing (@protodave)
- db7f1e7 Added CORS test in prep for adding XDomainRequest for IE9 (@protodave)
- 77ce693 Added keyword (@protodave)
- d00ef1f updated svg/png assets and js library for examples and tests (@protodave)
- e01b63e changelog update (@protodave)
- 7266bcf updated changelog (@protodave)
- eae8b22 New build and version bump (@protodave)
- e498e03 Make sure any mask ids and their references are unique so we can safely use the same SVG multiple times on the same page (like we already do for clipPaths) (@protodave)
- 8da3cfb changelog update (@protodave)
- 0b76f3b version bump, v1.1.1 (@protodave)
- 55ac808 Fix for issue #17 - "SVG Injector doesn't work if there is a URL parameter". Updated the regex that was matching for an svg file extension to allow for query strings. (@protodave)
- 173dc9b update version in bower.json (@protodave)
- 0e1cce5 Updated CHANGELOG for 1.1.0 release (@protodave)
- fe70317 updated min/map dist build (@protodave)
- e2e2438 Unlink elements var to aid GC and avoid detacted DOM elements (@protodave)
- 9be5041 min/map dist build and updated lib in examples and tests (@protodave)
- ce1eaa8 Move the use of injectOf() until after the check for SVG support during injection so we can avoid adding the extra code for an IE8 indexOf() polyfill (@protodave)
- f3e1bfb Clean up references to the replaced elements during injection, which end up as detached DOM elements, so they can be GC'd (@protodave)
- 96cb187 Updated build and examples svg-injector.min.js files (@protodave)
- 67c2355 Added test for race condition during injection, Issue #12 (@protodave)
- 2ee9f87 Address Issue #12 - Injection race condition (@protodave)
- f37d0ad added "examples" to bower.json ignore (@protodave)
- 10c2a24 removed some extra classes that were added for testing in the all-the-things examples (@protodave)
- 26545d9 readme update (@protodave)
- 88778d7 new dist build and examples updates (@protodave)
- f6eb3a7 reverted the isFunction() and isDefined() refactor PR since you can't pass undefined/undeclared vars to functions in JS (@protodave)
- fd321d6 to explain why this merge is necessary, (@protodave)
- 8f04917 Conflicts: svg-injector.js (@protodave)
- 70ec72e updated dist build and examples (@protodave)
- fa118b0 Merge branch 'stryju-patch-1' (@protodave)
- 56d22c0 Conflicts: svg-injector.js (@protodave)
- 8066bf6 updated dist build and examples svg-injector.min.js files (@protodave)
- 4350111 Simplified class merging (@protodave)
- #11 TODO: don't add class dups (@stryju)
- 1f09fd9 Added per-element PNG fallback functionality via setting a data-fallback or data-png attribute. (@protodave)
- 1814600 TODO: don't add dups (@stryju)
- 207dee9 small cleanup (@stryju)
- 972fdf6 different forEach approach (@stryju)
- e2d6d62 Updated bower package name in the install command (@protodave)
- fbb6fce updated changelog (@protodave)
- b0c055c Bump to v1.0.1 (@protodave)
- #5 Bower (@hoetmaaiers)
- 7d78660 add install with bower to README (@hoetmaaiers)
- 52b0483 init bower (@hoetmaaiers)
- c5a7fb4 Fixed a link in the README (@protodave)
- 4fc172a Added examples (@protodave)
- 7adef6e Updated documentation (@protodave)
- 172e267 Update README.md (@protodave)
- #2 Missing a closing
)
on example console.log (@FStop) - 60c74dc Missing a closing
)
on example console.log (@isGabe) - f40df63 Update README.md (@protodave)
- 9a4a8ba Updated CHANGELOG (@protodave)
- f61e766 created first min/map dist build (@protodave)
- 3c69267 added a package.json and .gitignore (@protodave)
- 13a2af6 Added jshintrc and some jshint wrapper rules to svg-injector.js (@protodave)