Skip to content

Commit 6777705

Browse files
committed
pat auto scale: Include styles from patterns-sass
1 parent 0b83ce7 commit 6777705

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/pat/auto-scale/auto-scale.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
* Copyright 2012 Humberto Sermeno
55
* Copyright 2013 Simplon B.V. - Wichert Akkerman
66
*/
7-
87
import $ from "jquery";
98
import Base from "../../core/base";
109
import Parser from "../../core/parser";
@@ -25,6 +24,10 @@ export default Base.extend({
2524
force_method: null,
2625

2726
init: function ($el, opts) {
27+
if (window.__patternslib_import_styles) {
28+
import("patterns-sass/components/_auto-scale.scss");
29+
}
30+
2831
this.options = parser.parse(this.$el, opts);
2932
if (this.force_method !== null) {
3033
this.options.method = this.force_method;

0 commit comments

Comments
 (0)