component / component.github.io

components search using component-crawler
http://component.github.io
119 stars 20 forks source link

Search is failing #69

Closed xixixao closed 10 years ago

xixixao commented 10 years ago

While running component.io on localhost I sometimes get

NotFoundError: Node was not found

in

SearchView.prototype.removeSpinner = function(){
  this.el.removeChild(this.spinner.el);             <- here
};

I assume this is caused by the async get (the whole code is really weird, with Search emitting events that lead to redirection that lead to actual search that lead to multiple response handlers called one after another - though the website is decomposed into components everything is tied tightly together, which is a shame for example application - imo, I just skimmed through the source).

jonathanong commented 10 years ago

fixed this!