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

page: Simplify template to save modes on page__body. Closes #516 #542

Merged
merged 1 commit into from
Jun 23, 2014

Conversation

tadatuta
Copy link
Member

@tadatuta tadatuta commented Jun 3, 2014

just applied @narqo's patch from #517 (comment)

@tavriaforever
Copy link
Member

cool

@narqo
Copy link
Member

narqo commented Jun 4, 2014

If this one works as expected (dev-mode, production, redefinition?), than 🔥

@coveralls
Copy link

Coverage Status

Coverage decreased (-1.92%) when pulling d7b76c5 on issues/516-2@v2 into cc83ee1 on v2.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 8b691b7 on issues/516-2@v2 into 80806e4 on v2.

@tadatuta
Copy link
Member Author

@narqo Added fix for touch template, which was broken after 789125c

// cc @mishanga

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 4d1ed69 on issues/516-2@v2 into 80806e4 on v2.

return applyNext().concat({ block : 'ua', js : true });
var mix = applyNext() || [];

return [].concat(mix, { block : 'ua', js : true });
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we could optimize it a little bit?

var mix = applyNext(),
  uaMix = [{ block : 'ua',.. }];
return mix? uaMix.concat(mix) : uaMix;

Copy link
Member Author

Choose a reason for hiding this comment

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

@narqo done

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 4d1410e on issues/516-2@v2 into 80806e4 on v2.

@narqo
Copy link
Member

narqo commented Jun 23, 2014

If this one works as expected (dev-mode, production, redefinition?), than 🔥

+1

tadatuta added a commit that referenced this pull request Jun 23, 2014
page: Simplify template to save modes on page__body. Closes #516
@tadatuta tadatuta merged commit 3106547 into v2 Jun 23, 2014
@tadatuta tadatuta deleted the issues/516-2@v2 branch June 23, 2014 09:25
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.

4 participants