File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -133,17 +133,16 @@ exports.addAttrs = function (attrs, token) {
133
133
* Does string have properly formatted curly?
134
134
*
135
135
* start: '{.a} asdf'
136
- * middle: 'a{.b}c'
137
136
* end: 'asdf {.a}'
138
137
* only: '{.a}'
139
138
*
140
- * @param {string } where to expect {} curly. start, middle, end or only.
139
+ * @param {string } where to expect {} curly. start, end or only.
141
140
* @return {function(string) } Function which testes if string has curly.
142
141
*/
143
142
exports . hasDelimiters = function ( where , options ) {
144
143
145
144
if ( ! where ) {
146
- throw new Error ( 'Parameter `where` not passed. Should be "start", "middle", " end" or "only".' ) ;
145
+ throw new Error ( 'Parameter `where` not passed. Should be "start", "end" or "only".' ) ;
147
146
}
148
147
149
148
/**
You can’t perform that action at this time.
0 commit comments