Skip to content

Decoupling of merge/minify functionality #8

Description

@marcovtwout

I love the original idea of this extension, but I think it has become too bloated by the integration of merging and minifying parts. Just look at the list of options (https://github.com/nlac/nlsclientscript/blob/master/src/nlac/NLSClientScript.php) vs version 5, for example.

I suggest all this extra functionality to be made truly optional and decoupled from the main NLSClientScript class. Coupling could be done similar to how Yii handles coupling Pagination to a DataProvider: you can pass options to instantiate the Pagination object, or you can simply set the whole "object" to false: http://www.yiiframework.com/doc/api/1.1/CDataProvider#pagination-detail

What do you think about that?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions