Forum OpenACS Q&A: Re: ajaxhelper and its tests

Collapse
Posted by Benjamin Brink on
Indeed, Antonio.

I wonder. Why is a server-side web app development platform such as OpenACS including /resources/acs-subsite/core.js in acs-core the way it does?

core.js in the generic template has mobile usability issues[1]

It seems like a poor example of how to use js in a dynamic templating environment.

1. developers.google.com/speed/docs/insights/BlockingJS

Collapse
Posted by Antonio Pisano on
Regarding the use of core.js, I think it won't be a big deal to move its inclusion so it complies with best practices.

Have you already pointed out where it happens in templates?

Collapse
Posted by Benjamin Brink on
core.js is referred to in www/blank-master.tcl

packages/openacs-default-theme/lib/plain-master.adp refers to blank-master