Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / ui / new_ui / ui / javascripts / app.js @ 7b3c3bd6

History | View | Annotate | Download (600 Bytes)

1
window.App = Ember.Application.create({
2
        LOG_ACTIVE_GENERATION: true,
3
        LOG_MODULE_RESOLVER: true,
4
        LOG_TRANSITIONS: true,
5
        LOG_TRANSITIONS_INTERNAL: true,
6
        LOG_VIEW_LOOKUPS: true,
7
  currentPath: '',
8
});
9

    
10
App.ApplicationAdapter = DS.FixtureAdapter;
11

    
12
App.RawTransform = DS.Transform.extend({
13
  deserialize: function(serialized) {
14
    return serialized;
15
  },
16
  serialize: function(deserialized) {
17
    return deserialized;
18
  }
19
});
20

    
21

    
22
ApplicationController : Ember.Controller.extend({
23
  currentPathDidChange: function() {
24
    App.set('currentPath', this.get('currentPath'));
25
  }.observes('currentPath')
26
});