Switch to glob for defaultExclusions, per review feedback.

This commit is contained in:
Kevin Dangoor committed 2014-05-05 08:26:51 -04:00
1 parent d8f4bbf465
commit 45a9b6fc07
2 files changed
+16 -24

No files matched your search

@@ -56,7 +56,8 @@ define(function (require, exports, module) {
matcher = null, // string matcher for hints
ignoreChange; // can ignore next "change" event if true;
PreferencesManager.definePreference("jscodehints.defaultExclusions", "array", ["ionic(-.*|\\.bundle|)\\.min\\.js$"]);
// Define the defaultExclusions which are files that are known to cause Tern to run out of control.
PreferencesManager.definePreference("jscodehints.defaultExclusions", "array", ["ionic*.min.js"]);
/**
* Sets the configuration, generally for testing/debugging use.