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/validation-error-field', ['exports', 'ember', 'ember-cli-simple-validation/components/validation-error-field'], function (exports, Ember, ValidationErrorField) {

	'use strict';

	exports['default'] = ValidationErrorField['default'];

});
define('dummy/controllers/add', ['exports', 'ember', 'ember-cli-simple-validation/mixins/validate'], function (exports, Ember, validate) {

    'use strict';

    exports['default'] = Ember['default'].Controller.extend(validate.ValidationMixin, {
        nameValidation: validate.validate("model.name"),
        zipcodeValidation: validate.validate("model.zipcode", /\d{5}/),
        emailValidation: validate.validate("model.email", /\S+@\S+\.\S+/),
        actions: {
            save: function () {
                this.set("submitted", true);
                if (this.get("valid")) {
                    this.transitionToRoute("success");
                }
            }
        }
    });

});
define('dummy/controllers/edit', ['exports', 'ember', 'ember-cli-simple-validation/mixins/validate'], function (exports, Ember, validate) {

    'use strict';

    exports['default'] = Ember['default'].Controller.extend(validate.ValidationMixin, {
        nameValidation: validate.validate("model.name"),
        zipcodeValidation: validate.validate("model.zipcode", /\d{5}/),
        emailValidation: validate.validate("model.email", /\S+@\S+\.\S+/),
        actions: {
            save: function () {
                this.set("submitted", true);
                if (this.get("valid")) {
                    this.transitionToRoute("success");
                }
            }
        }
    });

});