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 { UrlRouteService } from '...'; | |
... | |
constructor( | |
private urlRouteService: UrlRouteService | |
) { | |
this.urlRouteService.getPreviousUrl() | |
this.urlRouteService.getCurrentUrl() | |
} |
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
var list = snapshot.val(); | |
console.log("list.zipcodes " +list.zipcodes); | |
if(list.zipcodes.hasOwnProperty(dir)){ | |
var result = list.zipcodes[dir]; | |
caller.resolve({liquorEstore:result, address: dir.text}); | |
} | |
else | |
caller.reject(dir); | |
}, function(errorObject) { | |
caller.reject(dir); |
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
package com.vaadinspringjpa; | |
import com.vaadin.ui.*; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import com.vaadin.data.fieldgroup.BeanFieldGroup; | |
import com.vaadin.event.ShortcutAction; | |
import com.vaadin.server.FontAwesome; | |
import com.vaadin.spring.annotation.SpringComponent; | |
import com.vaadin.spring.annotation.UIScope; |