Last active
December 30, 2016 14:18
-
-
Save JonathanVeg/c0f383617d8de186da1b903955794a0f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
const { | |
get, | |
set | |
} = Ember; | |
export default Ember.Service.extend({ | |
clearForm() { | |
console.log("clear"); | |
}, | |
sendForm() { | |
// envia aqui | |
// agora limpa | |
clearForm(); | |
// ele diz que essa função clear form n existe. Mas ela existe (ali em cima). Como csg fazer essa chamada? | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment