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

Modular Views #2069

Merged
merged 5 commits into from
Aug 22, 2016
Merged

Modular Views #2069

merged 5 commits into from
Aug 22, 2016

Conversation

ConnorVG
Copy link
Contributor

The aim of this PR is the achieve a modular view system. I don't believe this should be part of the plugin PR.

{
$blade->directive('modules', function ($group = null) {
$code = [
'foreach (array_numeric_sort($modules) as $group => $parts) {',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I want this tidied and turned into a single recursive function call of some sort.

@ConnorVG ConnorVG changed the title [WIP] Modular Views Modular Views Aug 20, 2016
@jbrooksuk jbrooksuk added this to the V2.4.0 milestone Aug 22, 2016
$a = array_get($a, $key, PHP_INT_MAX);
$b = array_get($b, $key, PHP_INT_MAX);

$default = PHP_MAJOR_VERSION < 7 && !defined('HHVM_VERSION') ? 1 : 0;
Copy link
Member

Choose a reason for hiding this comment

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

We can drop the check for HHVM_VERSION.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will do.

@jbrooksuk
Copy link
Member

Can you rebase please?

@ConnorVG
Copy link
Contributor Author

That'll have to do unless you want it better.

#WorkStress

@jbrooksuk jbrooksuk merged commit d205338 into cachethq:2.4 Aug 22, 2016
@jbrooksuk
Copy link
Member

💥

@ConnorVG ConnorVG deleted the modular-views branch August 22, 2016 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants