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