title: Knockout.js, CoffeeScript and jQuery ajax doesn't update text fields
body: <p>I'm trying to receive data via AJAX and show it on the page. The ajax request is successful, but knockout doesn't update view. What can be the problem?</p>
  
  <p><strong>Source Code: View Model</strong> </p>
  
  <pre><code>class AppViewModel
    constructor: -&gt;
      @company = ko.observable {name:'n/a', tariff:'n/a', contract:'n/a', balance:'0'}
      @getBriefInfo()
      @companyTariff = ko.computed  =&gt; "Tariff: #{@company.tariff}"
      @companyBalance = ko.computed =&gt; "Total: #{@company.balance}"
  
  
    getBriefInfo: -&gt;
      $.ajax
          type: 'POST'
          url: '/index.php/site/getCompanyShortInfo'
          data: {}
          dataType: 'json'
          contentType: 'json'
          success: (res) =&gt;
            console.log @company(), res.name, res.tariff
            @company res
            console.log @company(), res.name, res.tariff
  
  $ -&gt;
    ko.applyBindings(new AppViewModel(),document.getElementById("company-info"))
  </code></pre>
  
  <p><strong>Source Code: View</strong></p>
  
  <pre><code>     &lt;ul id="company-info" class="unstyled company-info"&gt;
          &lt;li data-bind="text: company.contract"&gt;&lt;/li&gt;
          &lt;li data-bind="text: company.name"&gt;&lt;/li&gt;
          &lt;li data-bind="text: companyBalance"&gt;&lt;/li&gt;
          &lt;li data-bind="text: companyTariff"&gt;&lt;/li&gt;
      &lt;/ul&gt;
  </code></pre>