mirror of
https://github.com/beautifier/js-beautify.git
synced 2024-11-23 04:40:06 +00:00
Update templatablepattern.js
This commit is contained in:
parent
7f7484d4a9
commit
18a518a89a
@ -132,8 +132,11 @@ TemplatablePattern.prototype.__set_templated_pattern = function() {
|
||||
if (!this._disabled.php) {
|
||||
items.push(this.__patterns.php._starting_pattern.source);
|
||||
}
|
||||
// Handlebars ('{{' and '}}') are also special tokens in Angular)
|
||||
if (!this._disabled.handlebars || !this._disabled.angular) {
|
||||
if (!this._disabled.handlebars) {
|
||||
items.push(this.__patterns.handlebars._starting_pattern.source);
|
||||
}
|
||||
if (!this._disabled.angular) {
|
||||
// Handlebars ('{{' and '}}') are also special tokens in Angular)
|
||||
items.push(this.__patterns.handlebars._starting_pattern.source);
|
||||
}
|
||||
if (!this._disabled.erb) {
|
||||
|
Loading…
Reference in New Issue
Block a user