Hi Sebastian,
The examples that are provided online are using an outdated version of spine (except the todo example). So that would be why you will find some undocumented features. If you check the changelog (i think its on the spine git hub) you should find what happened to the function.
Im a bit of a beginner myself so if no one answers tonight, i might research and help you out tomorrow.
- Dan
Can any of you post their index.coffee file here please? Looking at
the demoapp show's me that @append is being called in the constructor
to append the templatedata from the Contacts instance to the
dom..trying to call @append in my app generates the error "this.append
is not a function"
I just want to get going and keep staying in setting up
everything... :/
yeellpp! :)
On 28 Nov., 23:08, Hernán Schmidt <hernan.schm...@gmail.com> wrote:
> Also beginner, but I'll explain what I can:
>
> @el - refers to the HTML element that's associated to a particular
> controller
>
> @append "stuff" - adds "stuff" to the end of the HTML element of this
> controller (@el)
> *Before:
> *<div>Hello</div>
> *Run @append "stuff"*
> *After*
> <div>Hellostuff</div>
>
> @html "stuff" - replaces the contents of @el with "stuff"
> *Before:
> *<div>Hello</div>
> *Run @html "stuff"*
> *After*