Skip to content

Commit 8a561e7

Browse files
author
Armando Aguirre
committed
Improved datatables regex
1 parent cd12c8b commit 8a561e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/server/editorServices.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ namespace ts.server {
161161
},
162162
"Datatables.net": {
163163
// e.g. /wwwroot/lib/datatables.all.min.js
164-
match: /(jquery\.)*dataTables(\.all)*(\.min)*\.js$/i,
164+
match: /(jquery\.)?dataTables(\.all)?(\.min)?\.js$/i,
165165
types: ["datatables.net"]
166166
}
167167
};

0 commit comments

Comments
 (0)