@@ -64,24 +64,20 @@ namespace ts.server {
64
64
const defaultTypeSafeList : SafeList = {
65
65
"jquery" : {
66
66
// jquery files can have names like "jquery-1.10.2.min.js" (or "jquery.intellisense.js")
67
- "match" : / j q u e r y ( - ( \. ? \d + ) + ) ? ( \. i n t e l l i s e n s e ) ? ( \. m i n ) ? \. j s $ / gi ,
67
+ "match" : / j q u e r y ( - ( \. ? \d + ) + ) ? ( \. i n t e l l i s e n s e ) ? ( \. m i n ) ? \. j s $ / i ,
68
68
"types" : [ "jquery" ]
69
69
} ,
70
70
"WinJS" : {
71
- "match" : / ^ ( .* \/ w i n j s ) \/ b a s e \. j s $ / gi , // If the winjs/base.js file is found..
71
+ "match" : / ^ ( .* \/ w i n j s ) \/ b a s e \. j s $ / i , // If the winjs/base.js file is found..
72
72
"exclude" : [ [ "^" , 1 , "/.*" ] ] , // ..then exclude all files under the winjs folder
73
73
"types" : [ "winjs" ] // And fetch the @types package for WinJS
74
74
} ,
75
75
"Kendo" : {
76
- "match" : / ^ ( .* \/ k e n d o \/ .+ \. j s $ / gi ,
76
+ "match" : / ^ ( .* \/ k e n d o \/ .+ \. j s $ / i ,
77
77
"exclude" : [ [ "^" , 1 , "/.*" ] ]
78
78
} ,
79
- "Office Loc Files" : {
80
- "match" : / ^ ( .* \/ o f f i c e \/ 1 \/ \w \w - \w \w \/ ) .+ \. j s $ / gi, // Office NuGet package is installed under a "office/1" folder
81
- "exclude" : [ [ "^" , 1 , "/.*" ] ] // Exclude that whole folder if the file indicated above is found in it
82
- } ,
83
- "Office Nuget" : { // TODO this one
84
- "match" : / ^ ( .* \/ 1 \/ o f f i c e ) \/ e x c e l \. d e b u g \. j s $ / gi, // Office NuGet package is installed under a "1/office" folder
79
+ "Office Nuget" : {
80
+ "match" : / ^ ( .* \/ 1 \/ o f f i c e ) \/ e x c e l \. d e b u g \. j s $ / i, // Office NuGet package is installed under a "1/office" folder
85
81
"exclude" : [ [ "^" , 1 , "/.*" ] ] , // Exclude that whole folder if the file indicated above is found in it
86
82
"types" : [ "office" ] // @types package to fetch instead
87
83
}
0 commit comments