]> source.dussan.org Git - nextcloud-server.git/commit
Moved code to replace svg with png to OC.Util
authorVincent Petry <pvince81@owncloud.com>
Fri, 4 Apr 2014 09:32:07 +0000 (11:32 +0200)
committerVincent Petry <pvince81@owncloud.com>
Fri, 4 Apr 2014 09:34:26 +0000 (11:34 +0200)
commita4eafca77f86ab2630bec698c3302c93daddb991
treed19954cea3761efe945e1cee0816c69fc555e94b
parent8a10c44eb33d45e2deba7d72b30e509fa332fb24
Moved code to replace svg with png to OC.Util

- Moved code that replaces the "svg" extension for the given file to
core as OC.Util.replaceSVGIcon.
- Added unit test for OC.Util.replaceSVGIcon
- Moved "replaceSVG" to OC.Util.replaceSVG and deprecated the global
"replaceSVG" function.
- Added alias for SVGSupport() as OC.Util.hasSVGSupport() (for now)
apps/files/js/breadcrumb.js
apps/files/js/filelist.js
apps/files/js/files.js
core/js/js.js
core/js/tests/specs/coreSpec.js