Sha256: 75018a11b16a3aed5cd3565ecaa06faeb4ed8e6a1d220484f5511acb687ae4e4

Contents?: true

Size: 776 Bytes

Versions: 64

Compression:

Stored size: 776 Bytes

Contents

@import "sassy-maps";

$Memoization-Table: () !default;

//////////////////////////////
// Memoization Set
//////////////////////////////
@function memo-set($module, $key, $value) {
  $module: "#{$module}";
  $key: "#{$key}";

  $Memoization-Table: map-set-deep($Memoization-Table, ($module $key), $value) !global;

  @return true;
}

@mixin memo-set($module, $key, $value) {
  $holder: memo-set($module, $key, $value);
}

//////////////////////////////
// Memoization Get
//////////////////////////////
@function memo-get($module, $key) {
  $module: "#{$module}";
  $key: "#{$key}";
  $private-sassy-maps-suppress-warnings: true !global;
  $result: map-get-deep($Memoization-Table, $module, $key);
  $private-sassy-maps-suppress-warnings: false !global;
  @return $result;
}

Version data entries

64 entries across 64 versions & 2 rubygems

Version Path
trusty-festivity-extension-2.6.3 vendor/assets/components/sassy-maps/sass/_memo.scss
trusty-festivity-extension-2.6.2 vendor/assets/components/sassy-maps/sass/_memo.scss
trusty-festivity-extension-2.6.1 vendor/assets/components/sassy-maps/sass/_memo.scss
trusty-festivity-extension-2.6 vendor/assets/components/sassy-maps/sass/_memo.scss
trusty-festivity-extension-2.5.19 vendor/assets/components/sassy-maps/sass/_memo.scss
trusty-festivity-extension-2.5.18 vendor/assets/components/sassy-maps/sass/_memo.scss
trusty-festivity-extension-2.5.17 vendor/assets/components/sassy-maps/sass/_memo.scss
trusty-festivity-extension-2.5.16 vendor/assets/components/sassy-maps/sass/_memo.scss
trusty-festivity-extension-2.5.15 vendor/assets/components/sassy-maps/sass/_memo.scss
trusty-festivity-extension-2.5.14 vendor/assets/components/sassy-maps/sass/_memo.scss
trusty-festivity-extension-2.5.13 vendor/assets/components/sassy-maps/sass/_memo.scss
trusty-festivity-extension-2.5.12 vendor/assets/components/sassy-maps/sass/_memo.scss
trusty-festivity-extension-2.5.11 vendor/assets/components/sassy-maps/sass/_memo.scss
trusty-festivity-extension-2.5.10 vendor/assets/components/sassy-maps/sass/_memo.scss
trusty-festivity-extension-2.5.9 vendor/assets/components/sassy-maps/sass/_memo.scss
trusty-festivity-extension-2.5.8 vendor/assets/components/sassy-maps/sass/_memo.scss
trusty-festivity-extension-2.5.7 vendor/assets/components/sassy-maps/sass/_memo.scss
trusty-festivity-extension-2.5.6 vendor/assets/components/sassy-maps/sass/_memo.scss
trusty-festivity-extension-2.5.5 vendor/assets/components/sassy-maps/sass/_memo.scss
trusty-festivity-extension-2.5.4 vendor/assets/components/sassy-maps/sass/_memo.scss