Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use CClientScript::package also for zii widgets javascript #147

Closed
qiangxue opened this issue Feb 15, 2012 · 5 comments
Closed

Use CClientScript::package also for zii widgets javascript #147

qiangxue opened this issue Feb 15, 2012 · 5 comments

Comments

@qiangxue
Copy link
Member

I suggest to use the new CClientScript::packages mechanism also for JS code of Zii widgets (and maybe also their CSS - which could be problematic due to images required for CSS).

The way it's handled now hinders the creation of a combined/compressed JS file for a site: Apart from (custom) code that handles compression of "standard" assets (yii, yiitab, yiiactiveform, ...), a developer has to add extra logic for the Zii widgets, as their JS is published in a different way.

Migrated from http://code.google.com/p/yii/issues/detail?id=2378


earlier comments

qiang.xue said, at 2012-01-01T03:36:54.000Z:

set for 1.1.10 milestone

@mikehaertl
Copy link

Dummy comment to subscribe myself again to this issue (couldn't find another way on github, sorry)

@mdomba
Copy link
Member

mdomba commented Mar 7, 2012

NOTE: To just get notifications if any you can click on "enable notifications for this issue" on the bottom of the page

But to be listed as participant there is no other way then commenting.

@cebe
Copy link
Member

cebe commented Nov 30, 2012

This is duplicate of #1033

@cebe cebe closed this as completed Nov 30, 2012
@mdomba
Copy link
Member

mdomba commented Nov 30, 2012

technically this one is older so the 1033 issue is a duplicate of this one ;)

@cebe
Copy link
Member

cebe commented Nov 30, 2012

Okay, but I think the second one describes it better :-P

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

No branches or pull requests

4 participants