MCPcopy
hub / github.com/oklai/koala / getSettings

Function getSettings

src/app/scripts/compilersManager.js:320–326  ·  view source on GitHub ↗
(compiler, key)

Source from the content-addressed store, hash-verified

318 * @return {object} Settings
319 */
320var getSettings = function (compiler, key) {
321 var settings = {};
322 compiler[key].forEach(function (item) {
323 settings[item.name] = item.default;
324 })
325 return settings;
326}
327
328/**
329 * Get Default Options Of All Compilers

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected