Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

How to output an object in eco #65

Open
ezmiller opened this issue May 14, 2014 · 0 comments
Open

How to output an object in eco #65

ezmiller opened this issue May 14, 2014 · 0 comments

Comments

@ezmiller
Copy link

Hi, I'm new to CoffeeScript and Eco. I'm trying to understand how to output a javascript object to the screen for debugging purposes. I tried something like this:

<%= document.write {'dog','cat'} %>

But it does not seem to recognize the document piece. I'm sure I'm missing something big here, but I can't seem to find any documentation about eco to set me on the write course, and this seems to work in pure CoffeeScript. Any help would be much appreciated.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant