Skip to content

Commit 7eb7b97

Browse files
authored
Merge pull request #2297 from mgreter/remove/imge-url-fn
Remove `image-url` function signature
2 parents 82c49d8 + d91c5bd commit 7eb7b97

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

src/functions.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1719,17 +1719,6 @@ namespace Sass {
17191719
return res;
17201720
}
17211721

1722-
////////////////
1723-
// URL FUNCTIONS
1724-
////////////////
1725-
1726-
Signature image_url_sig = "image-url($path, $only-path: false, $cache-buster: false)";
1727-
BUILT_IN(image_url)
1728-
{
1729-
error("`image_url` has been removed from libsass because it's not part of the Sass spec", pstate);
1730-
return 0; // suppress warning, error will exit anyway
1731-
}
1732-
17331722
//////////////////////////
17341723
// MISCELLANEOUS FUNCTIONS
17351724
//////////////////////////

src/functions.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ namespace Sass {
8989
extern Signature call_sig;
9090
extern Signature not_sig;
9191
extern Signature if_sig;
92-
extern Signature image_url_sig;
9392
extern Signature map_get_sig;
9493
extern Signature map_merge_sig;
9594
extern Signature map_remove_sig;
@@ -172,7 +171,6 @@ namespace Sass {
172171
BUILT_IN(call);
173172
BUILT_IN(sass_not);
174173
BUILT_IN(sass_if);
175-
BUILT_IN(image_url);
176174
BUILT_IN(map_get);
177175
BUILT_IN(map_merge);
178176
BUILT_IN(map_remove);

0 commit comments

Comments
 (0)