Machii renders HTML to browser when stored as a content arg.

13 views
Skip to first unread message

drfishflan

unread,
Oct 18, 2013, 10:32:23 AM10/18/13
to mach-ii-for...@googlegroups.com
Lets say I have an event

<event-handler event="test" access="public">
<view-page name="testPage" contentArg="TestPageHTML" />
</event-handler>

The only code the view page contains is

            <script>
console.log('tester');
            </script>

Now when I run the event the log runs!!..

I don't understand what is happening here.. surely the HTML is stored as variable and only when it is out put in another view will it render.
No javascript should be running in my example above since the page has not been rendered.

Any help would be appreciated

Alex
Reply all
Reply to author
Forward
0 new messages