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'; | |
export default Ember.Controller.extend({ | |
intl: Ember.inject.service(), | |
currency: Ember.inject.service(), | |
appName: 'Ember Twiddle', | |
price: '', | |
actions: { | |
savePrice() { | |
console.log(this.get('price').replace(',', '.')); |
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
/** | |
TODO: | |
[ ] "OFFSET" should be replaced with computedStyles of the arrow element; margin of | |
the arrow will determine from how far away from the target the popover is drawn | |
**/ | |
import Ember from 'ember'; | |
const SUPPORTED_POSITIONS = { |