These are chat archives for canjs/canjs

Sep 2015
Andrei Balmus
Sep 19 2015 05:22
@roemhildtg try this:
viewModel: {
    id: '@',
    resolve: function() {
    initWidget: function() {
      var self = this;
      this.attr('def', can.Deferred());
      this.attr('def').then(function() {
          console.warn('this deferred has been resolved');
Sep 19 2015 10:24
@daffl Thanx for suggestion. I have tried pushstate plugin too. It is based on directory structured templates. So If I would call abc/def/ghi then I will have to create the directory like that path. where there is nothing like this in route. Is there any option to remove hash without using pushstate?