mirror of https://github.com/iconify/api.git
Keep SimpleSVG for loader callback for now to avoid breaking scripts
This commit is contained in:
parent
bea74cae37
commit
638d66d3d6
|
|
@ -67,7 +67,7 @@ module.exports = (collection, query, ext, params) => {
|
|||
return 400;
|
||||
}
|
||||
} else {
|
||||
callback = 'Iconify._loaderCallback';
|
||||
callback = 'SimpleSVG._loaderCallback';
|
||||
}
|
||||
return {
|
||||
type: 'application/javascript; charset=utf-8',
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@
|
|||
icons: 'alias1'
|
||||
})).to.be.eql({
|
||||
type: 'application/javascript; charset=utf-8',
|
||||
body: 'Iconify._loaderCallback({"prefix":"test","icons":{"icon2":{"body":"<icon2 />","width":24,"height":24}},"aliases":{"alias1":{"parent":"icon2","hFlip":true}}})'
|
||||
body: 'SimpleSVG._loaderCallback({"prefix":"test","icons":{"icon2":{"body":"<icon2 />","width":24,"height":24}},"aliases":{"alias1":{"parent":"icon2","hFlip":true}}})'
|
||||
});
|
||||
|
||||
// Query collection without prefix, json
|
||||
|
|
|
|||
Loading…
Reference in New Issue