File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 55</template >
66
77<script lang="coffee">
8- ` import {Meteor } from ' meteor/meteor' `
8+ import { Meteor } from ' meteor/meteor'
99
10- return {
10+ return
1111 props : [ ' data' ]
1212 methods :
1313 removePost : ->
1414 Meteor .call ' posts.remove' , @data ._id
1515 created :
1616 console .log ' Post'
17- }
1817 </script >
1918
2019<!-- Project path test -->
Original file line number Diff line number Diff line change @@ -13,14 +13,13 @@ This meteor package adds [coffee-script](http://coffeescript.org/) support in yo
1313
1414``` html
1515<script lang =" coffee" >
16- ` import {Meteor} from 'meteor/meteor'`
16+ import { Meteor } from ' meteor/meteor'
1717
18- return {
18+ return
1919 props: [ ' data' ]
20- methods: removePost: - >
21- Meteor .call ' posts.remove' , @data ._id
22- return
23- }
20+ methods:
21+ removePost: - >
22+ Meteor .call ' posts.remove' , @data ._id
2423 </script >
2524```
2625
You can’t perform that action at this time.
0 commit comments