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

Content aware filters WIP #116

Merged
merged 3 commits into from May 13, 2016
Merged

Content aware filters WIP #116

merged 3 commits into from May 13, 2016

Conversation

dg
Copy link
Member

@dg dg commented May 13, 2016

@dg dg force-pushed the filters2 branch 4 times, most recently from 00ca443 to 409da5c Compare May 13, 2016 13:32
@dg
Copy link
Member Author

dg commented May 13, 2016

I think that silent conversion html -> text would not be there.

public $contentType;


public function __construct($contentType = NULL)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it neccesary to create new instance every time? Imho this could be made into flyweight.

Copy link
Member Author

@dg dg May 13, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might, but creating an instance is extreme cheap (and is used rarely)

@dg dg merged commit ab71bd5 into nette:master May 13, 2016
@dg dg deleted the filters2 branch May 13, 2016 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants