/* jshint ignore:start */

/* jshint ignore:end */

define('dummy/app', ['exports', 'ember', 'ember/resolver', 'ember/load-initializers', 'dummy/config/environment'], function (exports, Ember, Resolver, loadInitializers, config) {

  'use strict';

  Ember['default'].MODEL_FACTORY_INJECTIONS = true;

  var App = Ember['default'].Application.extend({
    modulePrefix: config['default'].modulePrefix,
    podModulePrefix: config['default'].podModulePrefix,
    Resolver: Resolver['default']
  });

  loadInitializers['default'](App, config['default'].modulePrefix);

  exports['default'] = App;

});
define('dummy/components/ember-bootstrap-colorpicker', ['exports', 'ember', 'ember-bootstrap-colorpicker/components/ember-bootstrap-colorpicker'], function (exports, Ember, BootstrapColorPicker) {

	'use strict';

	exports['default'] = BootstrapColorPicker['default'];

});
define('dummy/ember-bootstrap-colorpicker/tests/modules/ember-bootstrap-colorpicker/components/ember-bootstrap-colorpicker.jshint', function () {

  'use strict';

  module("JSHint - modules/ember-bootstrap-colorpicker/components");
  test("modules/ember-bootstrap-colorpicker/components/ember-bootstrap-colorpicker.js should pass jshint", function () {
    ok(true, "modules/ember-bootstrap-colorpicker/components/ember-bootstrap-colorpicker.js should pass jshint.");
  });

});
define('dummy/initializers/app-version', ['exports', 'dummy/config/environment', 'ember'], function (exports, config, Ember) {

  'use strict';

  var classify = Ember['default'].String.classify;

  exports['default'] = {
    name: "App Version",
    initialize: function (container, application) {
      var appName = classify(application.toString());
      Ember['default'].libraries.register(appName, config['default'].APP.version);
    }
  };

});
define('dummy/initializers/export-application-global', ['exports', 'ember', 'dummy/config/environment'], function (exports, Ember, config) {

  'use strict';

  exports.initialize = initialize;

  function initialize(container, application) {
    var classifiedName = Ember['default'].String.classify(config['default'].modulePrefix);

    if (config['default'].exportApplicationGlobal && !window[classifiedName]) {
      window[classifiedName] = application;
    }
  };

  exports['default'] = {
    name: "export-application-global",

    initialize: initialize
  };

});
define('dummy/router', ['exports', 'ember', 'dummy/config/environment'], function (exports, Ember, config) {

  'use strict';

  var Router = Ember['default'].Router.extend({
    location: config['default'].locationType
  });

  Router.map(function () {});

  exports['default'] = Router;

});
define('dummy/templates/application', ['exports', 'ember'], function (exports, Ember) {

  'use strict';

  exports['default'] = Ember['default'].Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) {
  this.compilerInfo = [4,'>= 1.0.0'];
  helpers = this.merge(helpers, Ember['default'].Handlebars.helpers); data = data || {};
    var buffer = '', stack1, helper, options, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression;


    data.buffer.push("<h2 id=\"title\">Welcome to Ember.js</h2>\n<h1>test</h1>\n");
    data.buffer.push(escapeExpression((helper = helpers['ember-bootstrap-colorpicker'] || (depth0 && depth0['ember-bootstrap-colorpicker']),options={hash:{
      'color': ("#e5e5e5")
    },hashTypes:{'color': "STRING"},hashContexts:{'color': depth0},contexts:[],types:[],data:data},helper ? helper.call(depth0, options) : helperMissing.call(depth0, "ember-bootstrap-colorpicker", options))));
    data.buffer.push("\n");
    stack1 = helpers._triageMustache.call(depth0, "outlet", {hash:{},hashTypes:{},hashContexts:{},contexts:[depth0],types:["ID"],data:data});
    if(stack1 || stack1 === 0) { data.buffer.push(stack1); }
    data.buffer.push("\n");
    return buffer;
    
  });

});
define('dummy/templates/components/ember-bootstrap-colorpicker', ['exports', 'ember'], function (exports, Ember) {

  'use strict';

  exports['default'] = Ember['default'].Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) {
  this.compilerInfo = [4,'>= 1.0.0'];
  helpers = this.merge(helpers, Ember['default'].Handlebars.helpers); data = data || {};
    


    data.buffer.push("<span class='input-group-addon'><i></i></span>");
    
  });

});
define('dummy/tests/app.jshint', function () {

  'use strict';

  module('JSHint - .');
  test('app.js should pass jshint', function() { 
    ok(true, 'app.js should pass jshint.'); 
  });

});
define('dummy/tests/helpers/resolver', ['exports', 'ember/resolver', 'dummy/config/environment'], function (exports, Resolver, config) {

  'use strict';

  var resolver = Resolver['default'].create();

  resolver.namespace = {
    modulePrefix: config['default'].modulePrefix,
    podModulePrefix: config['default'].podModulePrefix
  };

  exports['default'] = resolver;

});
define('dummy/tests/helpers/resolver.jshint', function () {

  'use strict';

  module('JSHint - helpers');
  test('helpers/resolver.js should pass jshint', function() { 
    ok(true, 'helpers/resolver.js should pass jshint.'); 
  });

});
define('dummy/tests/helpers/start-app', ['exports', 'ember', 'dummy/app', 'dummy/router', 'dummy/config/environment'], function (exports, Ember, Application, Router, config) {

  'use strict';



  exports['default'] = startApp;
  function startApp(attrs) {
    var application;

    var attributes = Ember['default'].merge({}, config['default'].APP);
    attributes = Ember['default'].merge(attributes, attrs); // use defaults, but you can override;

    Ember['default'].run(function () {
      application = Application['default'].create(attributes);
      application.setupForTesting();
      application.injectTestHelpers();
    });

    return application;
  }

});
define('dummy/tests/helpers/start-app.jshint', function () {

  'use strict';

  module('JSHint - helpers');
  test('helpers/start-app.js should pass jshint', function() { 
    ok(true, 'helpers/start-app.js should pass jshint.'); 
  });

});
define('dummy/tests/router.jshint', function () {

  'use strict';

  module('JSHint - .');
  test('router.js should pass jshint', function() { 
    ok(true, 'router.js should pass jshint.'); 
  });

});
define('dummy/tests/test-helper', ['dummy/tests/helpers/resolver', 'ember-qunit'], function (resolver, ember_qunit) {

	'use strict';

	ember_qunit.setResolver(resolver['default']);

});
define('dummy/tests/test-helper.jshint', function () {

  'use strict';

  module('JSHint - .');
  test('test-helper.js should pass jshint', function() { 
    ok(true, 'test-helper.js should pass jshint.'); 
  });

});
define('dummy/tests/unit/bootstrap-colorpicker-test', ['ember', 'ember-qunit'], function (Ember, ember_qunit) {

  'use strict';

  ember_qunit.moduleForComponent("ember-bootstrap-colorpicker", "component:bootstrap-colorpicker");

  var colorpickerClassName = "colorpicker-element";
  var colorpickerAddonSelector = ".input-group-addon";

  ember_qunit.test("it has correct defaults", function (assert) {
    assert.expect(3);

    var component = this.subject();

    assert.ok(component, "component exists");
    assert.equal(component.get("color"), "#000000", "default color correct");
    assert.equal(component.get("format"), "hex", "default format correct");
  });

  ember_qunit.test("it has rendered elements", function (assert) {
    assert.expect(4);
    var component = this.subject({
      color: "#e5e5e5"
    });

    this.render();
    assert.equal(component.get("color"), "#e5e5e5", "setup color correct");
    assert.equal(component.$().hasClass(colorpickerClassName), true, "element created");
    assert.equal(component.$(colorpickerAddonSelector).length, 1);
    assert.equal(component.$().attr("data-color"), component.get("color"));
  });

  ember_qunit.test("update color", function (assert) {
    assert.expect(1);
    var component = this.subject({
      color: "#e5e5e5"
    });

    this.render();

    component.$().on("changeColor.colorpicker", function () {
      assert.ok(true, "change color function triggered");
    });
    component.set("color", "#f7f7f7");
  });

});
define('dummy/tests/unit/bootstrap-colorpicker-test.jshint', function () {

  'use strict';

  module('JSHint - unit');
  test('unit/bootstrap-colorpicker-test.js should pass jshint', function() { 
    ok(true, 'unit/bootstrap-colorpicker-test.js should pass jshint.'); 
  });

});
/* jshint ignore:start */

/* jshint ignore:end */

/* jshint ignore:start */

define('dummy/config/environment', ['ember'], function(Ember) {
  var prefix = 'dummy';
/* jshint ignore:start */

try {
  var metaName = prefix + '/config/environment';
  var rawConfig = Ember['default'].$('meta[name="' + metaName + '"]').attr('content');
  var config = JSON.parse(unescape(rawConfig));

  return { 'default': config };
}
catch(err) {
  throw new Error('Could not read config from meta tag with name "' + metaName + '".');
}

/* jshint ignore:end */

});

if (runningTests) {
  require("dummy/tests/test-helper");
} else {
  require("dummy/app")["default"].create({"name":"ember-bootstrap-colorpicker","version":"0.0.0.2437e74e"});
}

/* jshint ignore:end */
//# sourceMappingURL=dummy.map