Thanks to visit codestin.com
Credit goes to github.com

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

How to output an object in eco #65

@ezmiller

Description

@ezmiller

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions