Skip to content

Commit ebe7a4e

Browse files
committed
Move app/index.html to src/ui/index.html.
Per rev.63
1 parent ec450af commit ebe7a4e

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

lib/engines/classic/main-file-info.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ var MainFileInfo = ClassicFileInfo.extend({
2020
if (ROOT_FILES.indexOf(this.name) > -1) {
2121
// do nothing (leave them in `src/` root)
2222
} else if (this.name === 'index' && this.ext === '.html') {
23-
this.collectionGroup = 'init';
23+
this.collectionGroup = 'ui';
2424
}
2525
},
2626

test/engines/classic-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ describe('classic engine', function() {
4949
confirm('app/app.js', {type: 'main', name: 'main', namespace: '', collection: '', collectionGroup: ''});
5050
confirm('app/router.js', {type: 'main', name: 'router', namespace: '', collection: '', collectionGroup: ''});
5151
confirm('app/index.md', { name: 'index', namespace: '', collection: '', collectionGroup: '' });
52-
confirm('app/index.html', { name: 'index', namespace: '', collection: '', collectionGroup: 'init' });
52+
confirm('app/index.html', { name: 'index', namespace: '', collection: '', collectionGroup: 'ui' });
5353
confirm('app/styles/app.css', { type: 'style', name: 'app', namespace: '', collection: 'styles', collectionGroup: 'ui' });
5454
confirm('app/styles/components/badges.css', { type: 'style', name: 'badges', namespace: 'components', collection: 'styles', collectionGroup: 'ui' });
5555
confirm('app/mixins/foo/bar.js', { type: 'util', name: 'bar', namespace: 'mixins/foo', collection: 'utils' });
@@ -82,7 +82,7 @@ describe('classic engine', function() {
8282
'app/router.js': 'src/router.js',
8383
'app/README.md': 'src/README.md',
8484
'app/_config.yml': 'src/_config.yml',
85-
'app/index.html': 'src/init/index.html',
85+
'app/index.html': 'src/ui/index.html',
8686
'app/styles/app.css': 'src/ui/styles/app.css',
8787
'app/styles/components/badges.css': 'src/ui/styles/components/badges.css',
8888
'app/mirage/config.js': 'src/mirage/config.js',

test/fixtures/classic-acceptance/output.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ module.exports = {
99
},
1010
'instance-initializers': {
1111
'blammo.js': 'blammo instance initializer'
12-
},
13-
'index.html': 'index.html contents'
12+
}
1413
},
1514
'ui': {
15+
'index.html': 'index.html contents',
1616
'components': {
1717
'foo-bar': {
1818
'component.js': 'foo-bar component',

0 commit comments

Comments
 (0)