Skip to content

DEPRECATION WARNING: Passing a string to call() is deprecated and will be illegal in Sass 4.0. Use call(get-function("output-isolation")) instead. #248

@architarious

Description

@architarious

If you've upgraded to Sass 3.5.0 or higher you're likely getting this warning every time you try to compile something using the grid-span mixin. More information for why this warning exists is available in the Sass Changelog and in this article.

In order to get rid of it you need to wrap the function call with get-function().

Go to lines 58 through 64 on singulairtygs/_api.scss and change:

@if $Direction == 'both' or $From == 'left' or ($Direction == 'rtl' and $From == 'opposite') {
      $Left: call('output-#{$output-style}', map-merge($Span-Map, ('direction': left)));
    }
@if $Direction == 'both' or $From == 'right' or ($Direction == 'ltr' and $From == 'opposite') {
      $Right: call('output-#{$output-style}', map-merge($Span-Map, ('direction': right)));
 }

to

@if $Direction == 'both' or $From == 'left' or ($Direction == 'rtl' and $From == 'opposite') {
      $Left: call(get-function('output-#{$output-style}'), map-merge($Span-Map, ('direction': left)));
    }
 @if $Direction == 'both' or $From == 'right' or ($Direction == 'ltr' and $From == 'opposite') {
      $Right: call(get-function('output-#{$output-style}'), map-merge($Span-Map, ('direction': right)));
   }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions