Guest User

Untitled

a guest
Jan 22nd, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. this.pricingdetails.fetch({
  2. success: function (pricingdetails) {
  3. console.log(JSON.stringify(pricingdetails))
  4. },
  5. error: function (model, xhr) {
  6. self.alert(xhr.responseText);
  7. },
  8. complete: function () {
  9. self.loading(false);
  10. }
  11. })
  12.  
  13. render: function () {
  14. this.getPricingDetails()
  15. var tmplData = {
  16. data: this.pricingdetails
  17. }
  18. console.log(JSON.stringify(tmplData))
Add Comment
Please, Sign In to add comment