Skip to content

Commit

Permalink
fix(module-system): add missing default and global flags in module sy…
Browse files Browse the repository at this point in the history
…stem
  • Loading branch information
joneff committed Mar 31, 2023
1 parent 6c58be9 commit 5ef0aca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/core/scss/module-system/index.import.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@import "./_components.scss";
@import "./_dependencies.scss";

$_deps: ();
$_imported: ();
$_deps: () !default;
$_imported: () !default;

@mixin module-register( $name: null, $dependencies: null ) {
@if (k-list-index( $kendo-components, $name) != null) {
Expand Down Expand Up @@ -31,8 +31,8 @@ $_imported: ();
}
}

@if ( k-list-index( $kendo-components, $name ) != null ) and ( k-list-index( $_imported, $name ) == null ) {
$_imported: k-list-append( $_imported, $name );
@if ( k-list-index( $kendo-components, $name ) != null ) and ( k-list-index( $_imported, $name ) == null ) {
$_imported: k-list-append( $_imported, $name ) !global;
@content;
}
}
Expand Down

0 comments on commit 5ef0aca

Please sign in to comment.