Skip to content

Commit 7ae9e3c

Browse files
committed
fixes
1 parent 51933d7 commit 7ae9e3c

4 files changed

Lines changed: 2 additions & 9 deletions

File tree

Brocfile.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ var bootstrapFonts = pickFiles('bower_components/bootstrap-sass-official/assets/
1010
destDir: '/assets/bootstrap'
1111
});
1212

13-
var compileSass = require('broccoli-sass');
14-
var mainCss = compileSass(['app/styles'], 'app.scss', 'assets/dummy.css');
15-
1613
var mergeTrees = require('broccoli-merge-trees');
1714

18-
module.exports = mergeTrees([app.toTree(), bootstrapFonts, mainCss], {
19-
overwrite: true
20-
});
15+
module.exports = mergeTrees([app.toTree(), bootstrapFonts]);
File renamed without changes.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
"broccoli-asset-rev": "0.3.1",
3838
"broccoli-concat": "0.0.12",
3939
"broccoli-merge-trees": "0.1.4",
40-
"broccoli-sass": "^0.2.2",
4140
"broccoli-static-compiler": "0.1.4",
4241
"connect-restreamer": "^1.0.0",
4342
"ember-cli": "0.1.7",

server/mocks/app.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ module.exports = function(app) {
4343

4444
appRouter.get('/users/:id', function(req, res) {
4545
if(req.params.id === 'admin'){
46-
res.send({user: {id: 1, name: 'testuser', lat: 50, long: 40, zoom: 3}});
46+
return res.send({user: {id: 1, name: 'testuser', lat: 50, long: 40, zoom: 3}});
4747
}
4848
res.send({user: {id: req.params.id, name: 'testuser', lat: 50, long: 40, zoom: 3}});
4949
});
@@ -57,7 +57,6 @@ module.exports = function(app) {
5757
});
5858

5959
appRouter.post('/avatars', function(req, res) {
60-
// req.on('data', function(chunk){ console.log(chunk)});
6160
res.send({avatar: {id: 1, thumb_url: 'http://media-cache-ak0.pinimg.com/236x/0c/e6/7f/0ce67fa7c94da77ab90877e65f3fda87.jpg', url: 'http://www.londra.us/Bristol_Castle.jpg'}});
6261
});
6362

0 commit comments

Comments
 (0)