'use strict';

var _ = require('lodash');

var _defaults = {
	exposeExplicitCompositeTask: false,
	exposeWithoutPrefix: false
};

var _settings = _defaults;

function get() {
	return _settings;
}

function set(options) {
	_settings = _.defaults({}, options || {}, _settings);
}

module.exports = {
	get: get,
	set: set
};

@@ -40,21 +40,44 @@
 );%0A%0A
-var _
+function Settings(settings, 
 defaults
  = %7B
@@ -76,135 +76,111 @@
 ults
- =
+)
  %7B%0A%09
-exposeExplicitCompositeTask: false,%0A%09exposeWithoutPrefix: false
+this.set(settings, defaults);
 %0A%7D
-;
 %0A%0A
-var _s
+S
 ettings
- = _defaults;%0A%0Afunction get(
+.prototype.get = function (name) %7B%0A%09if (name
 ) %7B%0A
+%09
 %09return 
 _set
@@ -175,25 +175,29 @@
 %09return 
-_
+this.
 settings
 ;%0A%7D%0A%0Afun
@@ -188,21 +188,79 @@
 settings
+%5Bname%5D
 ;%0A
+%09
 %7D%0A
-%0A
+%09return this.settings;%0A%7D;%0A%0ASettings.prototype.set = 
 function
@@ -264,25 +264,37 @@
 ion 
+(
 set
-(option
+tings, default
 s) %7B%0A%09
-_
+this.
 sett
@@ -319,14 +319,15 @@
 %7B%7D, 
-option
+setting
 s %7C%7C
@@ -335,21 +335,21 @@
 %7B%7D, 
-_setting
+default
 s);%0A%7D
+;
 %0A%0Amo
@@ -367,30 +367,14 @@
 s = 
-%7B%0A%09get: get,%0A%09set: set%0A%7D
+Settings
 ;%0A

make settings generic