Hi, This is the intended behavior. i.e. This is included by caramel as it is needed when the same server side partials are used in client side as well and this shouldn't introduce any issue. Hence, can you please elaborate more on why you need to get rid of that?
On Thursday, September 18, 2014, Dakshika Jayathilaka <[email protected] <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote: > Hi, > > I'm using {{js .}} helper on my page template. by default it will print > caramel context related information within the <script> tag. Is it a > default behavior or not? > > ex: > > <script>var caramel = caramel || {}; caramel.context = "/MYAPPPATH"; > caramel.themer = "theme0";caramel.url = function (path) { return > this.context + (path.charAt(0) !== '/' ? '/' : '') + path; };</script> > > please be kind enough to explain what went wrong here.. AFAIK we didn't > want to print above on page level. > > Notice same behavior on ES latest version as wel. > > Thank you. > > *Dakshika Jayathilaka* > Software Engineer > WSO2, Inc. > lean.enterprise.middleware > 0771100911 > -- *Ruchira Wageesha**Associate Technical Lead* *WSO2 Inc. - lean . enterprise . middleware | wso2.com <http://wso2.com>* *email: [email protected] <[email protected]>, blog: ruchirawageesha.blogspot.com <http://ruchirawageesha.blogspot.com>, mobile: +94 77 5493444*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
