Update: ember 1.12 and ember-cli 0.2.7

This commit is contained in:
jelhan 2015-07-02 15:53:02 +02:00
parent 34330cb730
commit fe0cd5fc82
2 changed files with 6 additions and 4 deletions

View file

@ -5,8 +5,6 @@ import config from './config/environment';
/* global sjcl */
/* global webshim */
Ember.MODEL_FACTORY_INJECTIONS = true;
// decrypt / encrypt computed property helper
Ember.computed.encrypted = function(encryptedField, dataType) {
return Ember.computed(encryptedField, function(key, decryptedValue) {
@ -86,7 +84,11 @@ Ember.computed.encrypted = function(encryptedField, dataType) {
});
};
var App = Ember.Application.extend({
var App;
Ember.MODEL_FACTORY_INJECTIONS = true;
App = Ember.Application.extend({
modulePrefix: config.modulePrefix,
podModulePrefix: config.podModulePrefix,
Resolver: Resolver

View file

@ -19,7 +19,7 @@
<script src="assets/vendor.js"></script>
<script src="assets/croodle.js"></script>
{{content-for 'body-footer'}}
<noscript>