Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Ember from 'ember';
- export default Ember.Controller.extend({
- quantity: "1",
- price: "3.50",
- total: Ember.computed('quantity', 'price', function() {
- return this.get('quantity') * this.get('price')
- })
- });
Add Comment
Please, Sign In to add comment