MCPcopy Index your code
hub / github.com/CodeboxIDE/codebox / getFallbacks

Function getFallbacks

client/core/files.js:137–141  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

135
136 // get fallback handlers for a file
137 var getFallbacks = function(file) {
138 return _.filter(handlers, function(handler) {
139 return userSettings.get(handler.id, true) && handler.fallback == true;
140 });
141 };
142
143 // Open file with handler
144 var openFileHandler = function(handler, file, fileOptions) {

Callers 1

openFileFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected