Skip to content

Commit

Permalink
small syntaxt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dmuneras committed Apr 28, 2016
1 parent 7cbc9f3 commit 7de00b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion addon/templates/components/place-autocomplete-field.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
tabindex=tabindex
disabled=disabled
focus-out='focusOut'
bubbles=true}}
}}
{{/if}}
6 changes: 3 additions & 3 deletions tests/dummy/app/controllers/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ export default Ember.Controller.extend({
restrictions: {country: "co"},

actions:{
done: function(){
done(){
Ember.$('#message').fadeOut(500, () => {
this.set('message', 'Focus out');
}).fadeIn(500);
},
placeChanged: function(place){
placeChanged(place){
this.set('placeJSON', JSON.stringify(place, undefined, 2));
if (place.adr_address) {
let regexp = /(<span(?: \w+="[^"]+")*(?: \w+="[^"]+")*>([^<]*)<\/span>)/g,
Expand All @@ -19,7 +19,7 @@ export default Ember.Controller.extend({
this.set('fullAddress', place.adr_address);

},
placeChangedSecondInput: function(place){
placeChangedSecondInput(place){
this.set('placeJSONSecondInput', JSON.stringify(place, undefined, 2));
}
}
Expand Down

0 comments on commit 7de00b3

Please sign in to comment.