title: VueJS not setting properties after ajax call in mounted function
body: <p>Im experimenting with VueJS and I have the following code:</p>
  
  <pre><code>require('./bootstrap');
  
  window.Vue = require('vue');
  
  window.app = new Vue({
  el: '#app',
  data: {
      test: { }
  },
  methods: {
      getAttributes: function(){
  
          var pseudoThis = this;
  
          $.get('/api/getSpecifications').done(function(resp){
              pseudoThis.test = resp;
              console.log(resp);
          });
  
      }
  },
  mounted: function(){
      this.getAttributes();
  }
  });
  </code></pre>
  
  <p>The ajax call gets executed, and i get json results. However the property test always stays {} , no matter what i try.</p>
  
  <p>Can anyone shed some light on this?</p>
  
  <p>Edit:</p>
  
  <p>Did some more testing, and also made a Fiddle with a copy of my current code:
  <a href="https://jsfiddle.net/cfhLg35v/2/" rel="nofollow noreferrer">https://jsfiddle.net/cfhLg35v/2/</a></p>
  
  <p>In the fiddle everything works as expected, so it seems to be a local issue. Does anyone have an idea?</p>