Skip to content

Commit ff861f6

Browse files
author
blond
committed
fix: functions should working without context
1 parent d5b735f commit ff861f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,18 +123,18 @@ function createNaming(options) {
123123
var res = obj.block;
124124

125125
if (obj.elem) {
126-
res += this.elemDelim + obj.elem;
126+
res += delims.elem + obj.elem;
127127
}
128128

129129
if (obj.modName) {
130130
var modVal = obj.modVal;
131131

132132
if (modVal || modVal === 0 || !obj.hasOwnProperty('modVal')) {
133-
res += this.modDelim + obj.modName;
133+
res += delims.mod.name + obj.modName;
134134
}
135135

136136
if (modVal && modVal !== true) {
137-
res += this.modValDelim + modVal;
137+
res += delims.mod.val + modVal;
138138
}
139139
}
140140

0 commit comments

Comments
 (0)