Skip to content

Commit 1629e4d

Browse files
committed
- fix typo in pug mixin scope
- bump version
1 parent 05a3396 commit 1629e4d

File tree

6 files changed

+587
-399
lines changed

6 files changed

+587
-399
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
- remove `setContext()` and `setCtx()`, in favor of `ctx()`.
88

99

10+
## v1.5.1
11+
12+
- fix typo in pug mixin `scope`
13+
14+
1015
## v1.5.0
1116

1217
- add `merge` class api

dist/index.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
- prefix = function(n) { return (!n?[]:(Array.isArray(n)?n:[n])).map(function(it){ return `${prefix.currentName}$${it}`; }).join(' ');}
22
mixin scope(name)
3-
- var prentName = prefix.currentName;
3+
- var parentName = prefix.currentName;
44
- prefix.currentName = name;
55
if attributes.class && /naked-scope/.exec(attributes.class)
66
block

0 commit comments

Comments
 (0)