Ghost/core/client/fixtures/apps.js
Peter Szel c614a652cb Ported settings/apps logic to Ember.
Closes #2423

- Created the apps route to fetch apps from server
- Created controller for a single app
- Modified the template of the apps page to use this controller
- Created the Apps model
- Created AppAdapter to use the FixtureAdapter for Ember Data
2014-06-17 23:25:24 +02:00

68 lines
2.0 KiB
JavaScript

var apps = [
{
'id': 1,
'name': 'testApp',
'package': {
'name': 'testApp',
'version': '2.0.1',
'description': 'An example application showing how to filter jquery from ghost foot',
'author': 'Ghost Foundation',
'homepage': 'http://ghost.org',
'repository': {
'type': 'git',
'url': 'git://github.com/TryGhost/Example-Apps'
},
'licenses': [
{
'type': 'MIT',
'url': 'https://raw.github.com/TryGhost/Example-Apps/master/LICENSE'
}
],
'main': 'index.js',
'engines': {
'node': '0.10.*'
},
'engineStrict': true,
'dependencies': {
'ghost-app': '~0.0.2',
'lodash': '~2.4.1'
},
'devDependencies': {}
},
'active': true
},
{
'id': 2,
'name': 'testApp2',
'package': {
'name': 'testApp2',
'version': '0.1.1',
'description': 'An example application showing how to filter jquery from ghost foot',
'author': 'Ghost Foundation',
'homepage': 'http://ghost.org',
'repository': {
'type': 'git',
'url': 'git://github.com/TryGhost/Example-Apps'
},
'licenses': [
{
'type': 'MIT',
'url': 'https://raw.github.com/TryGhost/Example-Apps/master/LICENSE'
}
],
'main': 'index.js',
'engines': {
'node': '0.10.*'
},
'engineStrict': true,
'dependencies': {
'ghost-app': '~0.0.2',
'lodash': '~2.4.1'
},
'devDependencies': {}
},
'active': false
},
];
export default apps;